source: roaraudio/roarfish/Makefile @ 4763:03fced31f5bd

Last change on this file since 4763:03fced31f5bd 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
RevLine 
[4632]1include ../Makefile.conf
2include ../Makefile.inc
3
[11]4TARGETS=roarfish
5
[12]6OBJ=roarfish.o play.o
[11]7
8#DEFINES        = -DDEBUG
9INCLUDE = -I../include -I./include
[4748]10CFLAGS += -g -Wall $(OPTI_O) $(DEFINES) $(INCLUDE)
11LDFLAGS+= -g -L../lib/ $(LDPATH)
[1733]12LIBS    = -lroar -lfishsound -loggz
[11]13
14all: ${TARGETS}
[475]15        cp $(cp_v) ${TARGETS} ../lib/
[11]16clean:
17        rm -f ${TARGETS} *.o
18new: clean all
19
20roarfish: ${OBJ}
[1733]21        ${CC} ${LDFLAGS} -o roarfish ${OBJ} ${LIBS}
Note: See TracBrowser for help on using the repository browser.