aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorJuha Vehviläinen <jusu@users.sourceforge.net>2002-06-20 11:25:52 +0000
committerJuha Vehviläinen <jusu@users.sourceforge.net>2002-06-20 11:25:52 +0000
commit7c697a69567e99603882176552c5abf0c66f39f7 (patch)
treeea6f0c998dc87ba5647cae3e57fa6fbb15445b95 /makefile
source importsvn2git-root
svn path=/trunk/externals/arraysize/; revision=16
Diffstat (limited to 'makefile')
-rw-r--r--makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..b284b4a
--- /dev/null
+++ b/makefile
@@ -0,0 +1,12 @@
+# just the build-commands
+
+I = -I../../../bin/pd/src
+
+all: linux
+
+linux:
+ cc -DPD -O2 -DUNIX $(I) -o arraysize.o -c arraysize.c
+ ld -shared -export_dynamic -o arraysize.pd_linux arraysize.o
+
+nt:
+ cl arraysize.c /DNT /DPD /LD /Gd /GD /Ox /link /export:arraysize_setup \system\pd\bin\pd.lib