1 added lint entry.

2 changed calls to cc into $(CC)
This commit is contained in:
keie 1985-01-21 14:14:22 +00:00
parent cb49888304
commit 71cbd2c92f

View file

@ -5,12 +5,16 @@ h=$d/h
l=$d/lib l=$d/lib
INSTALL=$l/em_bem INSTALL=$l/em_bem
CFLAGS = -c -I$h CFLAGS = -I$h
FILES= bem.o y.tab.o symbols.o initialize.o compile.o \ FILES= bem.o y.tab.o symbols.o initialize.o compile.o \
parsepar.o yywrap.o gencode.o util.o graph.o \ parsepar.o yywrap.o gencode.o util.o graph.o \
eval.o func.o split.o eval.o func.o split.o
CFILES= bem.c y.tab.c symbols.c initialize.c compile.c \
parsepar.c yywrap.c gencode.c util.c graph.c \
eval.c func.c split.c
SRC= bem.h symbols.h graph.h y.tab.h \ SRC= bem.h symbols.h graph.h y.tab.h \
bem.c basic.yacc symbols.c initialize.c compile.c \ bem.c basic.yacc symbols.c initialize.c compile.c \
parsepar.c yywrap.c gencode.c util.c graph.c \ parsepar.c yywrap.c gencode.c util.c graph.c \
@ -33,12 +37,15 @@ pr:
@pr $(SRC) @pr $(SRC)
bem: $(FILES) bem: $(FILES)
cc -o bem $(FILES) $(CC) -o bem $(FILES)
y.tab.o : y.tab.c lex.c y.tab.o : y.tab.c basic.lex
cc $(CFLAGS) y.tab.c $(CC) $(CFLAGS) -c y.tab.c
y.tab.h y.tab.c : basic.yacc y.tab.h y.tab.c : basic.yacc
yacc -d basic.yacc yacc -d basic.yacc
$(FILES) : bem.h symbols.h graph.h y.tab.h $(FILES) : bem.h symbols.h graph.h y.tab.h
lint: $(CFILES)
lint -phac -I$h $(CFILES)