make to work again
authorceriel <none@none>
Thu, 14 Jul 1988 09:15:21 +0000 (09:15 +0000)
committerceriel <none@none>
Thu, 14 Jul 1988 09:15:21 +0000 (09:15 +0000)
util/cgg/Makefile
util/cgg/bootgram.y
util/cgg/booth.h
util/cgg/bootlex.l
util/cgg/main.c

index 4888819..8de7762 100644 (file)
@@ -6,7 +6,7 @@ LDFLAGS=-i
 LINTOPTS=-hbxac $(PREFLAGS)
 LIBS=../../lib/em_data.a
 # LEXLIB is system dependent, try -ll or -lln first
-LEXLIB=-lln
+LEXLIB = -lln
 
 cgg:   bootgram.o main.o bootlex.o
        $(CC) $(LDFLAGS) bootgram.o main.o bootlex.o $(LIBS) $(LEXLIB) -o cgg
index f74d958..41aca07 100644 (file)
@@ -11,8 +11,16 @@ static char rcsid[]="$Header$";
  * Author: Hans van Staveren
  */
 
+#include <stdio.h>
+#include <assert.h>
+#include <ctype.h>
+#include <em_spec.h>
+#include <em_flag.h>
+#include <em_reg.h>
+
 #define extern
 #include "booth.h"
+#undef extern
 
 %}
 
index 42c5a9a..e44c8a4 100644 (file)
@@ -55,12 +55,6 @@ typedef char * string;
 
 extern char *malloc(),*myalloc();
 
-#include <stdio.h>
-#include <assert.h>
-#include <ctype.h>
-#include <em_spec.h>
-#include <em_flag.h>
-#include <em_reg.h>
 #include <cg_pattern.h>
 
 typedef struct list1str {
index 254c562..99a49ba 100644 (file)
@@ -16,6 +16,13 @@ static char rcsid2[]="$Header$";
 
 #define MAXBACKUP 50
 
+#include <stdio.h>
+#include <assert.h>
+#include <ctype.h>
+#include <em_spec.h>
+#include <em_flag.h>
+#include <em_reg.h>
+
 #include "booth.h"
 #include "y.tab.h"
 %}
index f397e3f..bbbb06e 100644 (file)
@@ -1,3 +1,10 @@
+#include <stdio.h>
+#include <assert.h>
+#include <ctype.h>
+#include <em_spec.h>
+#include <em_flag.h>
+#include <em_reg.h>
+
 #include "booth.h"
 
 char *strncpy(), strcpy(), sprintf();