Added LDFLAGS

This commit is contained in:
ceriel 1987-03-18 09:50:46 +00:00
parent bede819e42
commit 80fd06aa6a

View file

@ -11,6 +11,7 @@ LIBRARY= $(MODLIB)/libem_mes.a $(MODLIB)/libemk.a \
$(MODLIB)/libprint.a $(MODLIB)/libstring.a \ $(MODLIB)/libprint.a $(MODLIB)/libstring.a \
$(MODLIB)/libsystem.a $(LEXLIB) $(MODLIB)/libsystem.a $(LEXLIB)
CFLAGS = -Dvoid=int -O $(INCL) CFLAGS = -Dvoid=int -O $(INCL)
LDFLAGS = -i
# void = int, because some compilers don't understand void # void = int, because some compilers don't understand void
HSRC = code.h em.h expr.h sizes.h symtab.h token.h HSRC = code.h em.h expr.h sizes.h symtab.h token.h
CSRC = builtin.c code.c em.c expr.c keytab.c report.c symtab.c CSRC = builtin.c code.c em.c expr.c keytab.c report.c symtab.c
@ -23,7 +24,7 @@ dummy: $(GFILES)
touch dummy touch dummy
oc: $(PRIMARY) $(SECUNDARY) $(TERTIARY) oc: $(PRIMARY) $(SECUNDARY) $(TERTIARY)
$(CC) -o oc $(PRIMARY) $(SECUNDARY) $(TERTIARY) $(LIBRARY) $(CC) $(LDFLAGS) -o oc $(PRIMARY) $(SECUNDARY) $(TERTIARY) $(LIBRARY)
lex.yy.c: lex.l lex.yy.c: lex.l
lex lex.l lex lex.l