Fix a slightly incorrect deoendency.
This commit is contained in:
parent
9b66a6511b
commit
495f4afbe0
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -10,14 +10,14 @@ ifeq ($(UNAME_S),Linux)
|
|||
LIBS=-lrt
|
||||
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) compile.c advent.h funcs.h adventure.text Makefile control
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CCFLAGS) $(DBX) -c $<
|
||||
|
||||
advent: $(OBJS) database.o
|
||||
$(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) $(LDFLAGS) $(LIBS)
|
||||
$(CC) $(CCFLAGS) $(DBX) -o advent $(OBJS) database.o $(LDFLAGS) $(LIBS)
|
||||
|
||||
main.o: advent.h funcs.h database.h
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue