source: roaraudio/plugins/ao/Makefile

tip
Last change on this file was 5851:735e3e6b9d59, checked in by phi, 11 years ago

make more use out of $(DEBUG_g) and $(Wall)

File size: 739 bytes
RevLine 
[0]1TARGET=libroar.so
[1723]2OBJ=ao_roar.o
[0]3
[1723]4include ../../Makefile.conf
[2383]5include ../../Makefile.inc
[1721]6include Makefile.conf
7
[1723]8#DEFINES=-DDEBUG
[5851]9CFLAGS += $(DEBUG_g) $(Wall) $(OPTI_O) -I../../include $(DEFINES) $(HAVE_MATRIX) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC) $(AO_CFLAGS)
10LDFLAGS+= $(DEBUG_g) $(Wall) $(SHARED) $(LDPATH) -L../../lib
[2383]11LIBS    = $(LIBROAR) $(AO_LIBS)
[1723]12
[0]13all: ${TARGET}
14clean:
[1724]15        rm -f ${TARGET} *.o tests tests.c
[0]16new: clean all
17
18install: libroar.so
[3095]19        mkdir -p ${DESTDIR}${INSTALL_DIR}
[2571]20        cp libroar.so ${DESTDIR}${INSTALL_DIR}
[1049]21semi-install: libroar.so
[3095]22        mkdir -p ${DESTDIR}${INSTALL_DIR}
[2571]23        ln -fs `pwd`/libroar.so ${DESTDIR}${INSTALL_DIR}
[0]24
[1723]25libroar.so: $(OBJ)
[3104]26        $(CC) $(LDFLAGS) -Wl,-soname,libroar.so -o libroar.so $(OBJ) $(LIBS)
[0]27
28ao_roar.c:
Note: See TracBrowser for help on using the repository browser.