aboutsummaryrefslogtreecommitdiff
path: root/opengl/Makefile
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-16 01:05:40 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2005-12-16 01:05:40 +0000
commitb694c274836ac8b04d644711ac324eac2e9ab83e (patch)
tree36b6a5c17f7e1f414f80697210c2ed3e8005035b /opengl/Makefile
parente28a07fba67af0af818dda6afa4cf67c09700816 (diff)
checking in pdp 0.12.4 from http://zwizwa.fartit.com/pd/pdp/pdp-0.12.4.tar.gz
svn path=/trunk/externals/pdp/; revision=4232
Diffstat (limited to 'opengl/Makefile')
-rw-r--r--opengl/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/opengl/Makefile b/opengl/Makefile
new file mode 100644
index 0000000..d62358e
--- /dev/null
+++ b/opengl/Makefile
@@ -0,0 +1,27 @@
+include Makefile.config
+
+all: $(TARGET)
+
+linux: pdp_opengl.pd_linux
+
+darwin: pdp_opengl.pd_darwin
+
+subdirs:
+ make -C system
+ make -C modules
+ make -C include
+
+clean:
+ make -C system clean
+ make -C modules clean
+ make -C include clean
+ rm -f pdp_opengl.pd_linux
+ rm -f *~
+
+pdp_opengl.pd_linux: subdirs
+ rm -f pdp_opengl.pd_linux
+ $(CC) -export_dynamic -shared -o pdp_opengl.pd_linux modules/*.o system/*.o $(LDFLAGS) -g
+
+pdp_opengl.pd_darwin: subdirs
+ rm -f pdp_opengl.pd_linux
+ $(CC) -o pdp_opengl.pd_pd_darwin modules/*.o system/*.o $(LDFLAGS) -g -bundle -bundle_loader $(PD_EXECUTABLE)