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