source: roaraudio/plugins/xmms/Makefile @ 454:39d9d6923952

Last change on this file since 454:39d9d6923952 was 453:a9ae81f4cf35, checked in by phi, 16 years ago

got a working Makefile and some basic struct for the C file

File size: 510 bytes
Line 
1TARGET=libroar.so
2
3OBJ=roar.o
4
5
6GTK_LIBS=`gtk-config --libs`
7GTK_CFLAFS=`gtk-config --cflags`
8XMMS_LIBS=`xmms-config --libs`
9XMMS_CFLAGS=`xmms-config --cflags`
10INSTALL_DIR=`xmms-config --output-plugin-dir`
11
12CFLAGS  = -g -Wall -O2 $(DEFINES) $(INCLUDE) -fPIC $(GTK_CFLAFS) $(XMMS_CFLAGS)
13LDFLAGS = -g -shared -lroar $(GTK_LIBS) $(XMMS_LIBS)
14
15all: ${TARGET}
16clean:
17        rm -f ${TARGET} *.o
18new: clean all
19
20install: libroar.so
21        cp libroar.so ${INSTALL_DIR}/
22
23libroar.so: $(OBJ)
24        $(CC) $(LDFLAGS) -o libroar.so $(OBJ)
Note: See TracBrowser for help on using the repository browser.