Added LEXLIB

This commit is contained in:
ceriel 1987-03-16 22:35:21 +00:00
parent 52cc95b957
commit c41f370421
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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