source: roaraudio/plugins/audacious/Makefile @ 1715:f2efa612bee0

Last change on this file since 1715:f2efa612bee0 was 1715:f2efa612bee0, checked in by phi, 15 years ago

add CFLAGS, do not overwrite them

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