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
RevLine 
[0]1TARGET=libroar.so
[1723]2OBJ=ao_roar.o
[0]3
[1723]4include ../../Makefile.conf
[1721]5include Makefile.conf
6
[1723]7#DEFINES=-DDEBUG
[1729]8CFLAGS += -g -Wall -O2 -I../../include $(DEFINES) $(INCLUDE) $(INCPATH) $(SHARED_CF) $(fPIC) $(AO_CFLAGS)
9LDFLAGS = -g $(SHARED) $(LDPATH) -L../../lib -lroar $(AO_LIBS)
[1723]10
[0]11all: ${TARGET}
12clean:
[1724]13        rm -f ${TARGET} *.o tests tests.c
[0]14new: clean all
15
16install: libroar.so
17        cp libroar.so ${INSTALL_DIR}
[1049]18semi-install: libroar.so
[1706]19        ln -fs `pwd`/libroar.so ${INSTALL_DIR}
[0]20
[1723]21libroar.so: $(OBJ)
22        $(CC) $(LDFLAGS) -o libroar.so $(OBJ)
[0]23
24ao_roar.c:
Note: See TracBrowser for help on using the repository browser.