Minor build tweaks.

This commit is contained in:
Eric S. Raymond 2017-05-29 11:39:19 -04:00
parent 7555c5354a
commit 270ecf8f02

View file

@ -9,14 +9,14 @@ else ifeq "$(GCCVERSIONGTEQ4)" "1"
CC=c99 --std=gnu99 CC=c99 --std=gnu99
endif endif
OBJS=main.o init.o actions1.o actions2.o score.o misc.o database.o OBJS=main.o init.o actions1.o actions2.o score.o misc.o
SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO advent.text control SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO adventure.text advent.text control misc.h main.h share.h funcs.h
.c.o: .c.o:
$(CC) -O $(DBX) -c $< $(CC) -O $(DBX) -c $<
advent: $(OBJS) advent: $(OBJS) database.o
$(CC) -Wall -std=c99 -O $(DBX) -o advent $(OBJS) $(LIBS) $(CC) -Wall -std=c99 -O $(DBX) -o advent $(OBJS) database.o $(LIBS)
main.o: main.h misc.h funcs.h database.h main.o: main.h misc.h funcs.h database.h