feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5pitchshiftsamplertimestretchyinfft+
Last change
on this file since 8e25b1b was
8e25b1b,
checked in by Paul Brossier <piem@altern.org>, 20 years ago
|
fix compilation of swig/python on macosx
|
-
Property mode set to
100644
|
File size:
818 bytes
|
Line | |
---|
1 | pkgpython_PYTHON = __init__.py onsetcompare.py\ |
---|
2 | gnuplot.py median.py txtfile.py aubioclass.py |
---|
3 | |
---|
4 | nodist_pkgpython_PYTHON = aubiowrapper.py _aubiowrapper.so |
---|
5 | |
---|
6 | CLEANFILES = *.pyc *.so *.o aubio_wrap.c aubiowrapper.py |
---|
7 | |
---|
8 | all: _aubiowrapper.so |
---|
9 | |
---|
10 | # removed -Wall -Wmissing-prototypes -Wmissing-declarations |
---|
11 | CFLAGS = -DJACK_SUPPORT -Werror -Wno-char-subscripts \ |
---|
12 | -Wno-unknown-pragmas $(SWCFLAGS) \ |
---|
13 | -I../../src -I../../ext \ |
---|
14 | -I/usr/include/python${PYTHON_VERSION} \ |
---|
15 | -I${prefix}/include/python${PYTHON_VERSION} \ |
---|
16 | -I/usr/include \ |
---|
17 | -I${prefix}/include |
---|
18 | |
---|
19 | LDFLAGS = $(SWLDFLAGS) -L../../ext/.libs -laubioext -L../../src/.libs -laubio |
---|
20 | |
---|
21 | aubio_wrap.c: |
---|
22 | $(SWIG) -outdir . -o aubio_wrap.c -python ../../swig/aubio.i |
---|
23 | |
---|
24 | _aubiowrapper.so: aubio_wrap.c |
---|
25 | $(CC) $(CFLAGS) -c aubio_wrap.c |
---|
26 | $(CC) $(LDFLAGS) aubio_wrap.o -o _aubiowrapper.so |
---|
Note: See
TracBrowser
for help on using the repository browser.