make to work again
This commit is contained in:
parent
02154c02b2
commit
351429c19c
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
%}
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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"
|
||||
%}
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue