c0150116c3
for nearly all phases of a compiler. It has been developed until 1993 at the Karlsruhe research lab of GMD, the German National Research Center for Information Technology. PR: ports/65164 Submitted by: Willem Jan Withagen <wjw@withagen.nl>
36 lines
918 B
Text
36 lines
918 B
Text
--- ../../work/cocktail-9309//./specs/c/sql/Makefile Tue Feb 15 14:28:39 1994
|
|
+++ ./specs/c/sql/Makefile Wed Mar 31 23:03:58 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 sql.pars;
|
|
|
|
sql.rex: sql.scan Scanner.rpp
|
|
- rpp < sql.scan > sql.rex;
|
|
+ $(RPP) < sql.scan > sql.rex;
|
|
|
|
Scanner.h Scanner.c: sql.rex
|
|
- rex -cd sql.rex;
|
|
+ $(REX) -cd sql.rex;
|
|
|
|
Parser.h Parser.c ParserDrv.c: Parser.lalr
|
|
- lalr -c -d -p -cs Parser.lalr;
|
|
+ $(LALR) -c -d -p -cs Parser.lalr;
|
|
|
|
ParserDrv.o: Parser.h Scanner.h
|
|
Parser.o: Parser.h Scanner.h
|
|
@@ -28,7 +24,4 @@
|
|
clean:
|
|
rm -f ParserDrv core *.[hco] _Debug sql.rex Parser.lalr Scanner.rpp
|
|
|
|
-.SUFFIXES: .c .o
|
|
-
|
|
-.c.o:
|
|
- $(CC) $(CFLAGS) -c $*.c
|
|
+.include "../../../Makefile.inc"
|