ack/util/ceg/EM_parser/obj_EM_pars/Makefile

34 lines
494 B
Makefile
Raw Normal View History

1988-08-18 13:47:56 +00:00
EM=../../../..
CEGLIB = $(EM)/lib/ceg
PARLIB = $(CEGLIB)/EM_parser
LIB = $(PARLIB)/obj_EM_pars
1987-11-20 11:12:07 +00:00
OFILES = dist.o
1988-08-18 13:47:56 +00:00
HFILES = arg_type.h em_parser.h
1987-11-20 11:12:07 +00:00
IFILES = -I$(EM)/h -I$(EM)/modules/h
CC = cc
.c.o :
$(CC) $(IFILES) -c $<
1988-08-18 13:47:56 +00:00
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_parser.h
opr:
make pr | opr