Fixed proto.make

This commit is contained in:
ceriel 1991-09-13 11:20:27 +00:00
parent 0182322630
commit cd8141b705
3 changed files with 9 additions and 9 deletions

View file

@ -5,7 +5,7 @@
SRC_DIR = $(SRC_HOME)/util/ceg/as_parser
CEGLIB = $(TARGET_HOME)/lib.bin/ceg
IFILES = -I$(TARGET_HOME)/h -I$(TARGET_HOME)/modules/h -I.
IFILES = -I$(TARGET_HOME)/h -I$(TARGET_HOME)/modules/h -I. -I$(SRC_DIR)
CFLAGS = $(COPTIONS) -DFLEX $(IFILES)
LDFLAGS = $(LDOPTIONS)
@ -50,8 +50,8 @@ opr:
clean:
rm -f as_parser *.$(SUF) lex.yy.c Lpars.[ch] pars.c dummy eval/*.$(SUF) eval/eval
lex.yy.c : table.l
flex -s table.l
lex.yy.c : $(SRC_DIR)/table.l
flex -s $(SRC_DIR)/table.l
dummy : $(GFILES)
LLgen $(LLOPT) $(GFILES)

View file

@ -13,9 +13,9 @@ install:
-mkdir $(CEGLIB)
-mkdir $(UTIL)
for i in $(UtilList) ; do cp $$i $(UTIL)/$$i ; done
{ echo TARGET_HOME=$(TARGET_HOME); cat $(SRC_DIR)/install_ceg } > $(TARGET_HOME)/bin/install_ceg
{ echo TARGET_HOME=$(TARGET_HOME); cat $(SRC_DIR)/install_ceg ; } > $(TARGET_HOME)/bin/install_ceg
chmod +x $(TARGET_HOME)/bin/install_ceg
{ echo TARGET_HOME=$(TARGET_HOME); echo SUF=$(SUF); echo LIBSUF=$(LIBSUF); cat $(SRC_DIR)/update_ceg } > $(TARGET_HOME)/bin/update_ceg
{ echo TARGET_HOME=$(TARGET_HOME); echo SUF=$(SUF); echo LIBSUF=$(LIBSUF); cat $(SRC_DIR)/update_ceg ; } > $(TARGET_HOME)/bin/update_ceg
chmod +x $(TARGET_HOME)/bin/update_ceg
cmp:

View file

@ -52,13 +52,13 @@ led: $(OFILES)
install:led
rm -f $(LIBDIR)/em_led $(TARGET_HOME)/man/led.6 $(TARGET_HOME)/man/ack.out.5
cp led $(LIBDIR)/em_led
cp led.6 $(TARGET_HOME)/man/led.6
cp ack.out.5 $(TARGET_HOME)/man/ack.out.5
cp $(SRC_DIR)/led.6 $(TARGET_HOME)/man/led.6
cp $(SRC_DIR)/ack.out.5 $(TARGET_HOME)/man/ack.out.5
cmp: led
-cmp led $(LIBDIR)/em_led
-cmp led.6 $(TARGET_HOME)/man/led.6
-cmp ack.out.5 $(TARGET_HOME)/man/ack.out.5
-cmp $(SRC_DIR)/led.6 $(TARGET_HOME)/man/led.6
-cmp $(SRC_DIR)/ack.out.5 $(TARGET_HOME)/man/ack.out.5
lint:
lint $(LINTFLAGS) $(CFILES) $(LINTLIBS)