ack/util/ceg/EM_parser/obj_EM_pars/proto.make

39 lines
721 B
Plaintext
Raw Permalink Normal View History

1994-06-24 11:31:16 +00:00
# $Id$
1991-09-05 10:56:44 +00:00
#PARAMS do not remove this line!
CEGLIB = $(TARGET_HOME)/lib.bin/ceg
PARLIB = $(CEGLIB)/EM_parser
LIB = $(PARLIB)/obj_EM_pars
SRC_DIR = $(SRC_HOME)/util/ceg/EM_parser/obj_EM_pars
OFILES = dist.$(SUF)
HFILES = $(SRC_DIR)/arg_type.h $(SRC_DIR)/em_parser.h
IFILES = -I$(TARGET_HOME)/h -I$(TARGET_HOME)/modules/h
1993-11-10 14:38:32 +00:00
CFLAGS = $(COPTIONS) $(IFILES) -DNDEBUG
1991-09-05 10:56:44 +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 *.$(SUF)
pr:
@pr $(SRC_DIR)/proto.make $(HFILES) $(SRC_DIR)/dist.c
opr:
make pr | opr
dist.$(SUF): $(SRC_DIR)/dist.c
$(CC) $(CFLAGS) -c $(SRC_DIR)/dist.c