aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPablo Martín <caedesv@users.sourceforge.net>2003-09-07 20:01:24 +0000
committerPablo Martín <caedesv@users.sourceforge.net>2003-09-07 20:01:24 +0000
commite20d5ae3622d5d656dc28d7a090aee76b08158b0 (patch)
treede772d913888f4d5faf127414e2cb4ce486be3ca /Makefile
parent69fab985ebfc5ea03228c92a859e4091fee1b28d (diff)
updating pdp to current version 0.12.2
svn path=/trunk/externals/pdp/; revision=936
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 10 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 4999b88..5d86127 100644
--- a/Makefile
+++ b/Makefile
@@ -9,15 +9,16 @@ pdp_all:
darwin: pdp_all
rm -f pdp.pd_darwin
- $(CC) -bundle -bundle_loader $(PD_EXECUTABLE) -o pdp.pd_darwin modules/*.o system/*.o $(PDP_LIBS)
+ $(CC) -o pdp.pd_darwin modules/*/*.o system/*/*.o $(PDP_LIBS) -bundle -undefined error -twolevel_namespace -bundle_loader $(PD_EXECUTABLE)
+
linux: pdp_all
rm -f pdp.pd_linux
- $(CC) -export_dynamic -shared -o pdp.pd_linux modules/*.o system/*.o $(PDP_LIBS)
+ $(CC) -export_dynamic -shared -o pdp.pd_linux modules/*/*.o system/*/*.o $(PDP_LIBS)
linux_mmx: pdp_all
rm -f pdp.pd_linux
- $(CC) -export_dynamic -shared -o pdp.pd_linux modules/*.o system/*.o system/mmx/*.o $(PDP_LIBS)
+ $(CC) -export_dynamic -shared -o pdp.pd_linux modules/*/*.o system/*/*.o $(PDP_LIBS)
buildclean:
make -C include clean
@@ -30,6 +31,8 @@ clean: buildclean
distroclean: buildclean
make -C scaf clean
+ make -C opengl clean
+ make -C guile clean
mrproper: clean
make -C scaf mrproper
@@ -37,10 +40,12 @@ mrproper: clean
rm -rf config.log
rm -rf config.status
rm -rf autom4te.cache
- rm -rf Makefile.config
+ #this needs to stay in to keep the makefiles working
+ #rm -rf Makefile.config
tags:
- etags --language=auto include/*.h system/mmx/*.s system/*.c modules/*.c
+ etags --language=auto include/*.h system/mmx/*.s system/*/*.c \
+ modules/*/*.c scaf/*/*.c scaf/*/*.s opengl/*/*.c
tagsclean:
rm -f TAGS
@@ -48,7 +53,6 @@ tagsclean:
install: all
#check if pd is installed. if this fails make install will stop here.
- test -d $(prefix)/lib/pd
install -m 755 $(PDP_LIBRARY_NAME) $(prefix)/lib/pd/externs
install -m 755 -d $(prefix)/include/pdp
install -m 644 include/*.h $(prefix)/include/pdp