source: roaraudio/roarfish/Makefile @ 4961:cb774dd51c82

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

correct Makefile, should fix bulding with clang

File size: 452 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
[4804]10CFLAGS += -g -Wall $(OPTI_O) $(DEFINES) $(INCLUDE) $(INCPATH)
[4748]11LDFLAGS+= -g -L../lib/ $(LDPATH)
[4804]12LIBS    = $(LIBROAR) $(lib_fishsound) $(lib_oggz)
[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.