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
* 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
%}
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 {
#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"
%}
+#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();