55 lines
1.6 KiB
Plaintext
55 lines
1.6 KiB
Plaintext
--- src/Makefile.orig Thu Jul 27 04:18:46 2000
|
|
+++ src/Makefile Tue Aug 1 16:54:36 2000
|
|
@@ -60,7 +60,7 @@ all : dorelease
|
|
|
|
quick: lclint
|
|
|
|
-lclint : $(OBJ)
|
|
+lclint : signature.c cgrammar.c llgrammar.c cscanner.c $(OBJ)
|
|
@echo '// '
|
|
@echo '// Linking:'
|
|
@echo '// '
|
|
@@ -75,7 +75,7 @@ lclint : $(OBJ)
|
|
### this is probably NOT compatible with yacc.
|
|
###
|
|
|
|
-signature.c : signature.c.der signature.y
|
|
+signature.c : signature.y
|
|
ifdef BISON
|
|
@$(BISON) $(YFLAGS) -p lsl signature.y
|
|
@$(CAT) bison.head signature.tab.c bison.reset > signature.c
|
|
@@ -85,7 +85,7 @@ else
|
|
$(CP) signature.c.der signature.c
|
|
endif
|
|
|
|
-cgrammar.c : cgrammar.c.der cgrammar.y
|
|
+cgrammar.c : cgrammar.y
|
|
ifdef BISON
|
|
$(BISON) $(YFLAGS) cgrammar.y
|
|
@echo '// Expect 119 shift/reduce conflicts and 114 reduce/reduce conflicts.'
|
|
@@ -94,13 +94,14 @@ ifdef BISON
|
|
@$(MV) Headers/cgrammar_tokens.h Headers/cgrammar_tokens.bak
|
|
@$(CAT) bison.head cgrammar.tab.h bison.reset > Headers/cgrammar_tokens.h
|
|
else
|
|
+cgrammar.c : cgrammar.c.der
|
|
$(CP) cgrammar.c.der cgrammar.c
|
|
endif
|
|
|
|
### llgrammar2.h is necessary so +singleinclude may be used
|
|
|
|
-llgrammar.c : llgrammar.c.der llgrammar.y
|
|
ifdef BISON
|
|
+llgrammar.c : llgrammar.y
|
|
$(BISON) $(YFLAGS) -p yl llgrammar.y
|
|
@echo '// Expect 2 shift/reduce conflicts.'
|
|
@$(CAT) bison.head llgrammar.tab.c bison.reset > llgrammar.c
|
|
@@ -112,7 +113,7 @@ else
|
|
$(CP) llgrammar.c.der llgrammar.c
|
|
endif
|
|
|
|
-cscanner.c : cscanner.c.der cscanner.l
|
|
+cscanner.c : cscanner.l
|
|
ifdef FLEX
|
|
$(FLEX) $(LFLAGS) cscanner.l
|
|
$(CAT) flex.head lex.yy.c flex.reset > cscanner.c
|