Last change
on this file since 4796:e2a54b44679a was
4748:d7be1c18ccb5,
checked in by phi, 13 years ago
|
updated configure script to honor LDFLAGS and added --opti to set optimizer level (Closes: #27)
|
File size:
427 bytes
|
Line | |
---|
1 | include ../Makefile.conf |
---|
2 | include ../Makefile.inc |
---|
3 | |
---|
4 | TARGETS=roarfish |
---|
5 | |
---|
6 | OBJ=roarfish.o play.o |
---|
7 | |
---|
8 | #DEFINES = -DDEBUG |
---|
9 | INCLUDE = -I../include -I./include |
---|
10 | CFLAGS += -g -Wall $(OPTI_O) $(DEFINES) $(INCLUDE) |
---|
11 | LDFLAGS+= -g -L../lib/ $(LDPATH) |
---|
12 | LIBS = -lroar -lfishsound -loggz |
---|
13 | |
---|
14 | all: ${TARGETS} |
---|
15 | cp $(cp_v) ${TARGETS} ../lib/ |
---|
16 | clean: |
---|
17 | rm -f ${TARGETS} *.o |
---|
18 | new: clean all |
---|
19 | |
---|
20 | roarfish: ${OBJ} |
---|
21 | ${CC} ${LDFLAGS} -o roarfish ${OBJ} ${LIBS} |
---|
Note: See
TracBrowser
for help on using the repository browser.