Browse Source

improved: did not work with SunOs 4.0 make

ceriel 35 years ago
parent
commit
54ae1ed869
2 changed files with 4 additions and 3 deletions
  1. 1 1
      util/ceg/EM_parser/common/Makefile
  2. 3 2
      util/ceg/as_parser/Makefile

+ 1 - 1
util/ceg/EM_parser/common/Makefile

@@ -11,7 +11,7 @@ IFILES = -I$(EM)/h -I$(EM)/modules/h
 CC = cc
 CFLAGS = $(IFILES)
 
-all :	dummy
+all :	dummy $(OFILES)
 	make $(OFILES)
 
 dummy : $(GFILES)

+ 3 - 2
util/ceg/as_parser/Makefile

@@ -17,8 +17,9 @@ LEXLIB = -ll
 
 all:	as_parser eval/eval
 
-as_parser : dummy $(OFILES) 
-	  $(CC) -o as_parser $(OFILES) $(LIBS) $(LEXLIB)
+as_parser:	dummy $(OFILES)
+	make $(OFILES)
+	$(CC) -o as_parser $(OFILES) $(LIBS) $(LEXLIB)
 
 eval/eval:
 	( cd eval ; make eval )