source: roaraudio/plugins/ao/Makefile @ 4747:8ad3e80c9ded

Last change on this file since 4747:8ad3e80c9ded was 3234:33163b08ad79, checked in by phi, 14 years ago

set test macro

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