Skip to content

Commit

Permalink
change CFLAGS= to CFLAGS+= in makefiles
Browse files Browse the repository at this point in the history
  • Loading branch information
zfletch committed Jul 2, 2018
1 parent 1ae9d35 commit f0b825a
Show file tree
Hide file tree
Showing 10 changed files with 24 additions and 24 deletions.
4 changes: 2 additions & 2 deletions src/anal/makefile
Expand Up @@ -2,8 +2,8 @@
LEXLIB = -lfl

INCLUDE=../includes
#CFLAGS= -O2 -I${INCLUDE}
CFLAGS= -g -I${INCLUDE}
#CFLAGS+= -O2 -I${INCLUDE}
CFLAGS+= -g -I${INCLUDE}
RM=rm
CC=cc
CC=gcc
Expand Down
4 changes: 2 additions & 2 deletions src/auto/makefile
Expand Up @@ -3,8 +3,8 @@ INCLUDE=.
#CC=hc
CC=cc
CC=gcc
#CFLAGS= -O -I${INCLUDE}
CFLAGS= -g -I${INCLUDE}
#CFLAGS+= -O -I${INCLUDE}
CFLAGS+= -g -I${INCLUDE}
LINTFLAGS= -I${INCLUDE} -DDEBUG
LIBS=../curses/libcurses -ltermcap
LIB= gen.a
Expand Down
4 changes: 2 additions & 2 deletions src/gener/makefile
Expand Up @@ -10,8 +10,8 @@ GENEROBJ= genwd.o
#CC=hc
CC=cc
CC=gcc
#CFLAGS= -O2 -I${INCLUDE}
CFLAGS= -g -I${INCLUDE}
#CFLAGS+= -O2 -I${INCLUDE}
CFLAGS+= -g -I${INCLUDE}
LINTFLAGS= -I${INCLUDE} -DDEBUG
RM=/bin/rm
CONJOBJ= conjmain.o conjsys.o combconj.o ppasstype.o
Expand Down
8 changes: 4 additions & 4 deletions src/gkdict/makefile
Expand Up @@ -11,10 +11,10 @@ DICTOBJ=dictio.o derivio.o compnoun.o
#CC=hc
CC=cc
CC=gcc
#CFLAGS= -O -I${INCLUDE} -g
#CFLAGS= -O -I${INCLUDE} -Wstrict-prototypes -Wmissing-prototypes
#CFLAGS= -O2 -I${INCLUDE}
CFLAGS= -g -I${INCLUDE}
#CFLAGS+= -O -I${INCLUDE} -g
#CFLAGS+= -O -I${INCLUDE} -Wstrict-prototypes -Wmissing-prototypes
#CFLAGS+= -O2 -I${INCLUDE}
CFLAGS+= -g -I${INCLUDE}
LINTFLAGS= -I${INCLUDE} -DDEBUG
RM=/bin/rm -f

Expand Down
4 changes: 2 additions & 2 deletions src/gkends/makefile
@@ -1,6 +1,6 @@
INCLUDE=../includes
#CFLAGS= -O2 -I${INCLUDE}
CFLAGS= -g -I${INCLUDE}
#CFLAGS+= -O2 -I${INCLUDE}
CFLAGS+= -g -I${INCLUDE}
RM=rm
ENDLIB=gkends.a
CC=cc
Expand Down
4 changes: 2 additions & 2 deletions src/greeklib/makefile
@@ -1,6 +1,6 @@
INCLUDE=../includes
#CFLAGS= -O2 -I${INCLUDE}
CFLAGS= -g -I${INCLUDE}
#CFLAGS+= -O2 -I${INCLUDE}
CFLAGS+= -g -I${INCLUDE}
LIB=greeklib.a
RM=rm
CC=cc
Expand Down
4 changes: 2 additions & 2 deletions src/morphlib/makefile
@@ -1,6 +1,6 @@
INCLUDE=../includes
#CFLAGS= -O2 -I${INCLUDE}
CFLAGS= -g -I${INCLUDE}
#CFLAGS+= -O2 -I${INCLUDE}
CFLAGS+= -g -I${INCLUDE}
MORPHLIB=morphlib.a
RM=rm
CC=cc
Expand Down
10 changes: 5 additions & 5 deletions src/retr/makefile
Expand Up @@ -53,7 +53,7 @@ install: tlg_sel

#if using the automaton functions make sure that your CFLAGS includes
#this option
#CFLAGS=-I../auto -I.
#CFLAGS+=-I../auto -I.

#make sure that you use ranlib if running under Berkeley 4.X
${SRCHLIB}: ${SRCHOBJ} ${CIRCOBJ}
Expand All @@ -67,12 +67,12 @@ getref: getref.o refmain.o ${UTILS} ${SRCHLIB}


#tlg_sel with cdfs
#CFLAGS=-I. -I../auto -DAUTOMATON=1 -DCDFS=1
#CFLAGS+=-I. -I../auto -DAUTOMATON=1 -DCDFS=1
#tlg_sel: ${UTILS} selmain.o ${LIBS}
# ${CC} -o tlg_sel ${UTILS} selmain.o ${LIBS}

#tlg_sel without cdfs
CFLAGS=-I. -I../auto -DAUTOMATON=1 -DCDFS=0
CFLAGS+=-I. -I../auto -DAUTOMATON=1 -DCDFS=0
tlg_sel: ${UTILS} selmain.o ${SRCHLIB} ../auto/gen.a
${CC} -o tlg_sel ${UTILS} selmain.o ${SRCHLIB} ../auto/gen.a ${GREEKLIB}

Expand All @@ -92,15 +92,15 @@ getfld: ${UTILS} getfld.o ${SRCHLIB} ../auto/gen.a
# ("make clean" should do the trick). make sure you have
# the appropriate CFLAGS set
#
#CFLAGS=-DAUTOMATON=0 -DCDFS=0
#CFLAGS+=-DAUTOMATON=0 -DCDFS=0
shortsel:${UTILS} selmain.o ${SRCHOBJ}
${CC} -o shortsel ${UTILS} selmain.o ${SRCHOBJ}

#
# autosel is an intermediate version of tlg_sel: it uses ../auto/gen.a,
# but *not* the CDFS code. to compile it, run "make clean",
#
#CFLAGS=-I. -I../auto -DAUTOMATON=1 -DCDFS=0
#CFLAGS+=-I. -I../auto -DAUTOMATON=1 -DCDFS=0
autosel: ${UTILS} selmain.o ${SRCHOBJ} ${CIRCOBJ} ../auto/gen.a
${CC} -o autosel ${UTILS} selmain.o ${SRCHOBJ} ${CIRCOBJ} ../auto/gen.a

Expand Down
4 changes: 2 additions & 2 deletions src/scan/makefile
@@ -1,8 +1,8 @@
LEXLIB = -lfl

INCLUDE=../includes
#CFLAGS= -O2 -I${INCLUDE}
CFLAGS= -ggdb3 -I${INCLUDE}
#CFLAGS+= -O2 -I${INCLUDE}
CFLAGS+= -ggdb3 -I${INCLUDE}
RM=rm
CC=cc
CC=gcc
Expand Down
2 changes: 1 addition & 1 deletion src/tlg/makefile
Expand Up @@ -4,7 +4,7 @@ GREEKLIB=../greeklib/greeklib.a
RM=/bin/rm
#note that you need to define SYS5 if you are compiling under
#system 5.
#CFLAGS=-O -DSYS5
#CFLAGS+=-O -DSYS5

tlg_wsplit: tlg_wsplit.o ${GREEKLIB}
${CC} -o tlg_wsplit tlg_wsplit.o ${GREEKLIB}
Expand Down

0 comments on commit f0b825a

Please sign in to comment.