-advent: $(OBJS) linenoise.o newdb.o
- $(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) newdb.o linenoise.o $(LDFLAGS) $(LIBS)
-
-main.o: advent.h database.h common.h newdb.h
-
-init.o: advent.h database.h common.h newdb.h
+advent: $(OBJS) linenoise.o dungeon.o
+ $(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) dungeon.o linenoise.o $(LDFLAGS) $(LIBS)