source: roaraudio/roarfish/Makefile @ 4804:bf07a9cd8ff1

Last change on this file since 4804:bf07a9cd8ff1 was 4804:bf07a9cd8ff1, checked in by phi, 13 years ago

correct Makefile, should fix bulding with clang

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