ack/util/ceg/EM_parser/as_EM_pars/Makefile
1988-08-18 13:48:49 +00:00

34 lines
529 B
Makefile

EM=../../../..
CEGLIB = $(EM)/lib/ceg
PARLIB = $(CEGLIB)/EM_parser
LIB = $(PARLIB)/as_EM_pars
OFILES = dist.o error.o
HFILES = arg_type.h em_decl.h em_parser.h
IFILES = -I$(EM)/h -I$(EM)/modules/h
CC = cc
.c.o :
$(CC) $(IFILES) -c $<
all : $(OFILES)
install: all
-mkdir $(CEGLIB)
-mkdir $(PARLIB)
-mkdir $(LIB)
cp $(OFILES) $(HFILES) $(LIB)
cmp: all
for i in $(OFILES) $(HFILES) ; do cmp $$i $(LIB)/$$i ; done
clean:
rm -f *.o
pr:
@pr Makefile arg_type.h dist.c em_decl.h em_parser.h error.c
opr:
make pr | opr