Abolish funcs.h.
This commit is contained in:
parent
44639a9799
commit
46cd836df0
8 changed files with 50 additions and 62 deletions
10
Makefile
10
Makefile
|
@ -22,7 +22,7 @@ ifeq ($(UNAME_S),Linux)
|
|||
endif
|
||||
|
||||
OBJS=main.o init.o actions1.o actions2.o score.o misc.o
|
||||
SOURCES=$(OBJS:.o=.c) dungeon.c advent.h funcs.h sizes.h adventure.text Makefile control linenoise/linenoise.[ch]
|
||||
SOURCES=$(OBJS:.o=.c) dungeon.c advent.h sizes.h adventure.text Makefile control linenoise/linenoise.[ch]
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CCFLAGS) $(DBX) -c $<
|
||||
|
@ -30,13 +30,13 @@ SOURCES=$(OBJS:.o=.c) dungeon.c advent.h funcs.h sizes.h adventure.text Makefile
|
|||
advent: $(OBJS) database.o linenoise.o
|
||||
$(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) database.o linenoise.o $(LDFLAGS) $(LIBS)
|
||||
|
||||
main.o: advent.h funcs.h database.h database.c sizes.h
|
||||
main.o: advent.h database.h database.c sizes.h
|
||||
|
||||
init.o: advent.h funcs.h database.h database.c sizes.h
|
||||
init.o: advent.h database.h database.c sizes.h
|
||||
|
||||
actions1.o: advent.h funcs.h database.h database.c sizes.h
|
||||
actions1.o: advent.h database.h database.c sizes.h
|
||||
|
||||
actions2.o: advent.h funcs.h database.h database.c sizes.h
|
||||
actions2.o: advent.h database.h database.c sizes.h
|
||||
|
||||
score.o: advent.h database.h database.c sizes.h
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue