aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2006-10-10 09:20:33 +0000
committerJamie Bullock <jamie@postlude.co.uk>2006-10-10 09:20:33 +0000
commit6eeb126390f05a757f4060b2bae694de1eb4f4b3 (patch)
tree2e547cd3c232e5cc006838a4da5b4ba9c6050597 /examples
parentd0779800f72f682f5b2a874e8bcde1caadbf5a5d (diff)
downloadLibXtract-6eeb126390f05a757f4060b2bae694de1eb4f4b3.tar.gz
LibXtract-6eeb126390f05a757f4060b2bae694de1eb4f4b3.tar.bz2
LibXtract-6eeb126390f05a757f4060b2bae694de1eb4f4b3.zip
Build system tweaks
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 \