aboutsummaryrefslogtreecommitdiff
path: root/opengl/Makefile
diff options
context:
space:
mode:
authorPablo Martín <caedesv@users.sourceforge.net>2003-09-07 21:45:05 +0000
committerPablo Martín <caedesv@users.sourceforge.net>2003-09-07 21:45:05 +0000
commit213978fa8a868661dda88e6b4e7cacec1c90677a (patch)
treeada4aa53b2e25926c93bc1d4f2d19cbd018d1493 /opengl/Makefile
parent599a8e20c02fa48bab5102d15fab79dd6b631c95 (diff)
Updating pdp to current version 0.12.2
svn path=/trunk/externals/pdp/; revision=941
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)