source: roaraudio/plugins/ao/Makefile @ 3055:9903e05fc8b0

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

patches to use $DESTDIR in makefiles

File size: 599 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
[1729]9CFLAGS += -g -Wall -O2 -I../../include $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC) $(AO_CFLAGS)
[1732]10LDFLAGS = -g $(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
[2571]19        cp libroar.so ${DESTDIR}${INSTALL_DIR}
[1049]20semi-install: libroar.so
[2571]21        ln -fs `pwd`/libroar.so ${DESTDIR}${INSTALL_DIR}
[0]22
[1723]23libroar.so: $(OBJ)
[1732]24        $(CC) $(LDFLAGS) -o libroar.so $(OBJ) $(LIBS)
[0]25
26ao_roar.c:
Note: See TracBrowser for help on using the repository browser.