Add database.o to the linker list.

This commit is contained in:
Jason S. Ninneman 2017-06-08 00:08:11 -07:00
parent b29678956e
commit 955032bd24

View file

@ -17,7 +17,7 @@ SOURCES=$(OBJS:.o=.c) dungeon.c advent.h funcs.h sizes.h adventure.text Makefile
$(CC) $(CCFLAGS) $(DBX) -c $<
advent: $(OBJS) database.o linenoise.o
$(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) database.o $(LDFLAGS) $(LIBS)
$(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) database.o linenoise.o $(LDFLAGS) $(LIBS)
main.o: advent.h funcs.h database.h database.c sizes.h