source: roaraudio/plugins/ao/Makefile @ 2571:f7682f8a74be

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

patches to use $DESTDIR in makefiles

File size: 599 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) $(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        cp libroar.so ${DESTDIR}${INSTALL_DIR}
20semi-install: libroar.so
21        ln -fs `pwd`/libroar.so ${DESTDIR}${INSTALL_DIR}
22
23libroar.so: $(OBJ)
24        $(CC) $(LDFLAGS) -o libroar.so $(OBJ) $(LIBS)
25
26ao_roar.c:
Note: See TracBrowser for help on using the repository browser.