Minor build tweaks.
This commit is contained in:
parent
7555c5354a
commit
270ecf8f02
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -9,14 +9,14 @@ else ifeq "$(GCCVERSIONGTEQ4)" "1"
|
||||||
CC=c99 --std=gnu99
|
CC=c99 --std=gnu99
|
||||||
endif
|
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) COPYING NEWS README TODO advent.text control
|
SOURCES=$(OBJS:.o=.c) COPYING NEWS README TODO adventure.text advent.text control misc.h main.h share.h funcs.h
|
||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) -O $(DBX) -c $<
|
$(CC) -O $(DBX) -c $<
|
||||||
|
|
||||||
advent: $(OBJS)
|
advent: $(OBJS) database.o
|
||||||
$(CC) -Wall -std=c99 -O $(DBX) -o advent $(OBJS) $(LIBS)
|
$(CC) -Wall -std=c99 -O $(DBX) -o advent $(OBJS) database.o $(LIBS)
|
||||||
|
|
||||||
main.o: main.h misc.h funcs.h database.h
|
main.o: main.h misc.h funcs.h database.h
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue