Fixed proto.make
authorceriel <none@none>
Fri, 13 Sep 1991 11:20:27 +0000 (11:20 +0000)
committerceriel <none@none>
Fri, 13 Sep 1991 11:20:27 +0000 (11:20 +0000)
util/ceg/as_parser/proto.make
util/ceg/util/proto.make
util/led/proto.make

index 68862dc..ab72685 100644 (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)
index 1e44caf..cd69422 100644 (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:
index 332f175..66e72f1 100644 (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)