source: roaraudio/plugins/xine/Makefile @ 3094:80cc6c4aab83

Last change on this file since 3094:80cc6c4aab83 was 2571:f7682f8a74be, checked in by phi, 13 years ago

patches to use $DESTDIR in makefiles

File size: 480 bytes
Line 
1TARGET=xineplug_ao_out_roar.so
2
3OBJ=roar.o
4
5
6XINE_LIBS=`xine-config --libs`
7XINE_CFLAGS=`xine-config --cflags`
8INSTALL_DIR=`xine-config --plugindir`
9
10#DEFINES=-DDEBUG
11CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(fPIC) $(XINE_CFLAGS)
12LDFLAGS = -g -shared -lroar $(XINE_LIBS)
13
14all: ${TARGET}
15clean:
16        rm -f ${TARGET} *.o
17new: clean all
18
19install: ${TARGET}
20        cp ${TARGET} ${DESTDIR}${INSTALL_DIR}/
21
22xineplug_ao_out_roar.so: $(OBJ)
23        $(CC) $(LDFLAGS) -o xineplug_ao_out_roar.so $(OBJ)
Note: See TracBrowser for help on using the repository browser.