37 lines
949 B
Text
37 lines
949 B
Text
|
--- ../../work/cocktail-9309//./specs/c/sather/Makefile Tue Feb 15 14:28:38 1994
|
||
|
+++ ./specs/c/sather/Makefile Wed Mar 31 23:03:31 2004
|
||
|
@@ -1,7 +1,3 @@
|
||
|
-LIB = $(HOME)/lib
|
||
|
-INCDIR = $(LIB)/include
|
||
|
-CFLAGS = -I$(INCDIR)
|
||
|
-CC = cc
|
||
|
|
||
|
ParserDrv: ParserDrv.o Scanner.o Parser.o
|
||
|
$(CC) $(CFLAGS) ParserDrv.o Scanner.o Parser.o $(LIB)/libreuse.a -o ParserDrv
|
||
|
@@ -10,13 +6,13 @@
|
||
|
lpp -cxzj sather.pars;
|
||
|
|
||
|
sather.rex: sather.scan Scanner.rpp
|
||
|
- rpp < sather.scan > sather.rex;
|
||
|
+ $(RPP) < sather.scan > sather.rex;
|
||
|
|
||
|
Scanner.h Scanner.c: sather.rex
|
||
|
- rex -cd sather.rex;
|
||
|
+ $(REX) -cd sather.rex;
|
||
|
|
||
|
Parser.h Parser.c ParserDrv.c: Parser.lalr
|
||
|
- lalr -c -d -p Parser.lalr;
|
||
|
+ $(LALR) -c -d -p Parser.lalr;
|
||
|
|
||
|
ParserDrv.o: Parser.h Scanner.h
|
||
|
Parser.o: Parser.h Scanner.h
|
||
|
@@ -28,7 +24,4 @@
|
||
|
clean:
|
||
|
rm -f core *.[hco] _Debug ParserDrv sather.rex Parser.lalr Scanner.rpp
|
||
|
|
||
|
-.SUFFIXES: .c .o
|
||
|
-
|
||
|
-.c.o:
|
||
|
- $(CC) $(CFLAGS) -c $*.c
|
||
|
+.include "../../../Makefile.inc"
|