source: roaraudio/plugins/xmms/Makefile @ 4748:d7be1c18ccb5

Last change on this file since 4748:d7be1c18ccb5 was 4748:d7be1c18ccb5, checked in by phi, 11 years ago

updated configure script to honor LDFLAGS and added --opti to set optimizer level (Closes: #27)

File size: 695 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) $(OPTI_O) -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.