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

Last change on this file since 4747:8ad3e80c9ded was 3095:b9abe0b8991f, checked in by phi, 14 years ago

added mkdirs so install dirs do exist

File size: 515 bytes
RevLine 
[467]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
[1715]11CFLAGS += -g -Wall -O2 $(DEFINES) $(INCLUDE) $(fPIC) $(XINE_CFLAGS)
[467]12LDFLAGS = -g -shared -lroar $(XINE_LIBS)
13
14all: ${TARGET}
15clean:
16        rm -f ${TARGET} *.o
17new: clean all
18
19install: ${TARGET}
[3095]20        mkdir -p ${DESTDIR}${INSTALL_DIR}
[2571]21        cp ${TARGET} ${DESTDIR}${INSTALL_DIR}/
[467]22
23xineplug_ao_out_roar.so: $(OBJ)
24        $(CC) $(LDFLAGS) -o xineplug_ao_out_roar.so $(OBJ)
Note: See TracBrowser for help on using the repository browser.