aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: b284b4aebf4ff5a00c20cb50e6c6b6159aae1029 (plain)
1
2
3
4
5
6
7
8
9
10
11
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