Last change
on this file since 1689:01ffb59e044e 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
|
Rev | Line | |
---|
[0] | 1 | TARGET=libroar.so |
---|
| 2 | |
---|
| 3 | all: ${TARGET} |
---|
| 4 | clean: |
---|
| 5 | rm -f ${TARGET} tests tests.c |
---|
| 6 | new: clean all |
---|
| 7 | |
---|
| 8 | install: libroar.so |
---|
| 9 | cp libroar.so ${INSTALL_DIR} |
---|
[1049] | 10 | semi-install: libroar.so |
---|
| 11 | ln -s `pwd`/libroar.so ${INSTALL_DIR} |
---|
[0] | 12 | |
---|
| 13 | libroar.so: ao_roar.c |
---|
[1404] | 14 | cc -shared -L../../lib -I../../include -lroar -fPIC -o libroar.so ao_roar.c |
---|
[0] | 15 | |
---|
| 16 | ao_roar.c: |
---|
Note: See
TracBrowser
for help on using the repository browser.