aboutsummaryrefslogtreecommitdiff
path: root/desiredata/extra/pureunity/Makefile
blob: a9e9ec8843749f2c8bd9269cd38fcd21e6fb667d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# if you don't want the standard pd, set the PD-variable before doing "make"
# e.g. "PD=/home/matju/pd_devel_0_39_und/bin/pd make"
 PD ?= pd
#PD ?= desire
PDFLAGS = -lib pureunity -noaudio
PDFLAGS += -lib gridflow
CFLAGS = -Wall

test:: built
	$(PD) $(PDFLAGS) main.pd

built: Makefile pureunity.pd_linux
	echo > built

generic/%~.pd: generic/%.pd

pureunity.pd_linux: pureunity.c Makefile
	$(CC) $(CFLAGS) -shared -o pureunity.pd_linux pureunity.c