source: roaraudio/plugins/ao/Makefile @ 1404:32443d183b1d

Last change on this file since 1404:32443d183b1d was 1404:32443d183b1d, checked in by phi, 15 years ago

staticly use -fPIC, this will not build without it, but gives a warning on win32...

File size: 314 bytes
Line 
1TARGET=libroar.so
2
3all: ${TARGET}
4clean:
5        rm -f ${TARGET} tests tests.c
6new: clean all
7
8install: libroar.so
9        cp libroar.so ${INSTALL_DIR}
10semi-install: libroar.so
11        ln -s `pwd`/libroar.so ${INSTALL_DIR}
12
13libroar.so: ao_roar.c
14        cc -shared -L../../lib -I../../include -lroar -fPIC -o libroar.so ao_roar.c
15
16ao_roar.c:
Note: See TracBrowser for help on using the repository browser.