source: roaraudio/roarfish/Makefile @ 1733:b31058000869

Last change on this file since 1733:b31058000869 was 1733:b31058000869, checked in by phi, 15 years ago

use $LIBS in Makefiles: add libs at end of linker options

File size: 371 bytes
Line 
1TARGETS=roarfish
2
3OBJ=roarfish.o play.o
4
5#DEFINES        = -DDEBUG
6INCLUDE = -I../include -I./include
7CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE)
8LDFLAGS = -g -L../lib/ $(LDPATH)
9LIBS    = -lroar -lfishsound -loggz
10
11all: ${TARGETS}
12        cp $(cp_v) ${TARGETS} ../lib/
13clean:
14        rm -f ${TARGETS} *.o
15new: clean all
16
17roarfish: ${OBJ}
18        ${CC} ${LDFLAGS} -o roarfish ${OBJ} ${LIBS}
Note: See TracBrowser for help on using the repository browser.