1 - Added RCS identification.

2 - Changed the file name parseparams.c into parsepar.c, the original
    name was too long for RCS under BSD4.1
3 - Adapted to ACK standard Makefile format(cmp,install,...)
4 - Included more dependencies.
This commit is contained in:
em 1984-11-27 23:53:31 +00:00
parent 3ceada5482
commit 39c37e9571

View file

@ -1,14 +1,44 @@
CFLAGS = -c
# $Header$
d=../../..
h=$d/h
l=$d/lib
INSTALL=$l/em_bem
CFLAGS = -c -I$h
FILES= bem.o y.tab.o symbols.o initialize.o compile.o \
parseparams.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
../bem: $(FILES)
cc -o ../bem $(FILES)
SRC= bem.h symbols.h graph.h y.tab.h \
bem.c basic.yacc symbols.c initialize.c compile.c \
parsepar.c yywrap.c gencode.c util.c graph.c \
eval.c func.c split.c
y.tab.o : y.tab.c lex.c
cc $(CFLAGS) y.tab.c
first : bem
y.tab.c : basic.yacc
yacc -d basic.yacc
cmp : bem
cmp bem $(INSTALL)
install: bem
cp bem $(INSTALL)
clean:
rm -f *.[osmk] *.old bem
opr:
make pr ^ opr
pr:
@pr $(SRC)
bem: $(FILES)
cc -o bem $(FILES)
y.tab.o : y.tab.c lex.c
cc $(CFLAGS) y.tab.c
y.tab.h y.tab.c : basic.yacc
yacc -d basic.yacc
$(FILES) : bem.h symbols.h graph.h y.tab.h