diff --git a/Makefile b/Makefile index 88305ce..5cff690 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,7 @@ GDTFLAG = -DALLOW_GDT # Compilation flags CFLAGS = -g #-static +LDFLAGS = # On SCO Unix Development System 3.2.2a, the const type qualifier does # not work correctly when using cc. The following line will cause it # to not be used and should be uncommented. @@ -66,7 +67,7 @@ OBJS = actors.o ballop.o clockr.o demons.o dgame.o dinit.o dmain.o\ nrooms.o objcts.o rooms.o sobjs.o supp.o sverbs.o verbs.o villns.o dungeon: $(OBJS) dtextc.dat - $(CC) $(CFLAGS) -o zork $(OBJS) $(LIBS) + $(CC) $(CFLAGS) -o zork $(OBJS) $(LDFLAGS) $(LIBS) install: zork dtextc.dat mkdir -p $(BINDIR) $(LIBDIR) $(MANDIR)/man6