Added LEXLIB
This commit is contained in:
parent
52cc95b957
commit
c41f370421
|
@ -6,9 +6,10 @@ PRIMARY= occam.o Lpars.o keytab.o lex.yy.o code.o em.o
|
|||
SECUNDARY= symtab.o expr.o builtin.o
|
||||
TERTIARY= report.o
|
||||
LLOPT=
|
||||
LEXLIB=-ll
|
||||
LIBRARY= $(MODLIB)/libem_mes.a $(MODLIB)/libemk.a \
|
||||
$(MODLIB)/libprint.a $(MODLIB)/libstring.a \
|
||||
$(MODLIB)/libsystem.a -lln
|
||||
$(MODLIB)/libsystem.a $(LEXLIB)
|
||||
CFLAGS = -Dvoid=int -O $(INCL)
|
||||
# void = int, because some compilers don't understand void
|
||||
HSRC = code.h em.h expr.h sizes.h symtab.h token.h
|
||||
|
|
|
@ -10,10 +10,11 @@ INCLUDES=-I$(EMH)
|
|||
CFLAGS=-O $(INCLUDES)
|
||||
YFLAGS=-v -d
|
||||
LDFLAGS=-i
|
||||
LEXLIB=-ll
|
||||
|
||||
|
||||
cgg: cgg.o $(OFILES) output.o
|
||||
cc $(LDFLAGS) $(OFILES) output.o $(EMHOME)/lib/em_data.a -ll -o cgg
|
||||
cc $(LDFLAGS) $(OFILES) output.o $(EMHOME)/lib/em_data.a $(LEXLIB) -o cgg
|
||||
|
||||
install: cgg
|
||||
rm -f $(EMHOME)/lib/ncgg
|
||||
|
|
Loading…
Reference in a new issue