make to work again

This commit is contained in:
ceriel 1988-07-14 09:15:21 +00:00
parent 02154c02b2
commit 351429c19c
5 changed files with 23 additions and 7 deletions

View 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

View 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
%}

View 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 {

View 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"
%}

View 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();