source: roaraudio/plugins/xmms/Makefile @ 3752:0e8d130d03a0

Last change on this file since 3752:0e8d130d03a0 was 3752:0e8d130d03a0, checked in by phi, 12 years ago

test if compiler supports -Wextra

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