diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/puredata/Makefile.am | 12 | ||||
-rw-r--r-- | examples/puredata/xtract~.c | 1 |
2 files changed, 6 insertions, 7 deletions
diff --git a/examples/puredata/Makefile.am b/examples/puredata/Makefile.am index f3eb08e..c45fc32 100644 --- a/examples/puredata/Makefile.am +++ b/examples/puredata/Makefile.am @@ -8,14 +8,9 @@ pdinstalldir = $(pddir)/extra pdinstallrefdir = $(pddir)/doc/5.reference pdinstallexpdir = $(pddir)/doc/xtract -# Automake won't accept something ending in ".pd_linux" as a library -pdinstall_PROGRAMS = xtract~.@PD_SUFFIX@ +pdinstall_PROGRAMS = xtract.@PD_SUFFIX@ -if BUILD_PD_EXAMPLE -xtract_pd_linux_SOURCES = xtract~.c -else -xtract_pd_linux_SOURCES = -endif +xtract_@PD_SUFFIX@_SOURCES = xtract~.c pdincludedir = $(pddir)/src @@ -31,6 +26,9 @@ AM_LDFLAGS = @PD_LDFLAGS@ -lxtract ## Install the documentation. +install: + -mv xtract.@PD_SUFFIX@ $(pdinstalldir)/xtract~.@PD_SUFFIX@ + #pdinstallref_DATA = \ # help/aubioonset-help.pd \ # help/aubioquiet-help.pd \ diff --git a/examples/puredata/xtract~.c b/examples/puredata/xtract~.c index 0fa5926..035a43d 100644 --- a/examples/puredata/xtract~.c +++ b/examples/puredata/xtract~.c @@ -18,6 +18,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. /* calculates the spectral xtract of one frame, given peak frequency and amplitude to first and second inputs respectively */ +#define XTRACT #include "xtract/libxtract.h" #include "m_pd.h" |