source: roaraudio/plugins/ao/Makefile @ 1729:49fc00705baf

Last change on this file since 1729:49fc00705baf was 1729:49fc00705baf, checked in by phi, 15 years ago

use pkg-config for libao plugin

File size: 530 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 -lroar $(AO_LIBS)
10
11all: ${TARGET}
12clean:
13        rm -f ${TARGET} *.o tests tests.c
14new: clean all
15
16install: libroar.so
17        cp libroar.so ${INSTALL_DIR}
18semi-install: libroar.so
19        ln -fs `pwd`/libroar.so ${INSTALL_DIR}
20
21libroar.so: $(OBJ)
22        $(CC) $(LDFLAGS) -o libroar.so $(OBJ)
23
24ao_roar.c:
Note: See TracBrowser for help on using the repository browser.