1984-11-27 23:53:31 +00:00
|
|
|
# $Header$
|
|
|
|
|
|
|
|
d=../../..
|
|
|
|
h=$d/h
|
|
|
|
l=$d/lib
|
|
|
|
INSTALL=$l/em_bem
|
|
|
|
|
1987-02-11 15:41:09 +00:00
|
|
|
CFLAGS = -I$h -O
|
1984-11-27 22:11:59 +00:00
|
|
|
|
|
|
|
FILES= bem.o y.tab.o symbols.o initialize.o compile.o \
|
1984-11-27 23:53:31 +00:00
|
|
|
parsepar.o yywrap.o gencode.o util.o graph.o \
|
1984-11-27 22:11:59 +00:00
|
|
|
eval.o func.o split.o
|
|
|
|
|
1985-01-21 14:14:22 +00:00
|
|
|
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
|
|
|
|
|
1984-11-27 23:53:31 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
first : bem
|
|
|
|
|
|
|
|
cmp : bem
|
|
|
|
cmp bem $(INSTALL)
|
|
|
|
|
|
|
|
install: bem
|
|
|
|
cp bem $(INSTALL)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.[osmk] *.old bem
|
|
|
|
|
|
|
|
opr:
|
|
|
|
make pr ^ opr
|
|
|
|
pr:
|
|
|
|
@pr $(SRC)
|
|
|
|
|
1988-04-18 10:21:30 +00:00
|
|
|
distr: y.tab.c y.tab.h
|
|
|
|
|
1984-11-27 23:53:31 +00:00
|
|
|
bem: $(FILES)
|
1985-01-21 14:14:22 +00:00
|
|
|
$(CC) -o bem $(FILES)
|
1984-11-27 23:53:31 +00:00
|
|
|
|
1985-01-21 14:14:22 +00:00
|
|
|
y.tab.o : y.tab.c basic.lex
|
|
|
|
$(CC) $(CFLAGS) -c y.tab.c
|
1984-11-27 22:11:59 +00:00
|
|
|
|
1984-11-27 23:53:31 +00:00
|
|
|
y.tab.h y.tab.c : basic.yacc
|
|
|
|
yacc -d basic.yacc
|
1984-11-27 22:11:59 +00:00
|
|
|
|
1984-11-27 23:53:31 +00:00
|
|
|
$(FILES) : bem.h symbols.h graph.h y.tab.h
|
1985-01-21 14:14:22 +00:00
|
|
|
|
|
|
|
lint: $(CFILES)
|
|
|
|
lint -phac -I$h $(CFILES)
|