source: roaraudio/plugins/ao/Makefile @ 1732:f2e00166a8e3

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

added new var $LIBS

File size: 548 bytes
Line 
1TARGET=libroar.so
2OBJ=ao_roar.o
3
4include ../../Makefile.conf
5include Makefile.conf
6
7#DEFINES=-DDEBUG
8CFLAGS += -g -Wall -O2 -I../../include $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC) $(AO_CFLAGS)
9LDFLAGS = -g $(SHARED) $(LDPATH) -L../../lib
10LIBS    = -lroar $(AO_LIBS)
11
12all: ${TARGET}
13clean:
14        rm -f ${TARGET} *.o tests tests.c
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) $(LIBS)
24
25ao_roar.c:
Note: See TracBrowser for help on using the repository browser.