aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am3
-rw-r--r--examples/puredata/Makefile.am4
2 files changed, 5 insertions, 2 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 071f774..8ca132d 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -1 +1,4 @@
+if BUILD_PD_EXAMPLE
SUBDIRS = puredata
+endif
+
diff --git a/examples/puredata/Makefile.am b/examples/puredata/Makefile.am
index c45fc32..97bad90 100644
--- a/examples/puredata/Makefile.am
+++ b/examples/puredata/Makefile.am
@@ -22,12 +22,12 @@ INCLUDES = -I$(top_srcdir)/src -I$(pdincludedir)
#AM_LDFLAGS = -L$(top_builddir)/src/.libs -lxtract -export_dynamic -shared
AM_CFLAGS = @PD_CFLAGS@
-AM_LDFLAGS = @PD_LDFLAGS@ -lxtract
+AM_LDFLAGS = @PD_LDFLAGS@ -lxtract -L$(top_builddir)/src/
## Install the documentation.
install:
- -mv xtract.@PD_SUFFIX@ $(pdinstalldir)/xtract~.@PD_SUFFIX@
+ -mv $(top_builddir)/examples/puredata/.libs/xtract.@PD_SUFFIX@ $(pdinstalldir)/xtract~.@PD_SUFFIX@
#pdinstallref_DATA = \
# help/aubioonset-help.pd \