aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 76c27ba8012f81bd85634a3373dc5328257dea16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
PD = /home/matju/pd_0_38_4/bin/pd -noaudio
#PD = pd
PDFLAGS = -lib pureunity -noaudio -path generics -path specifics

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

built: Makefile pureunity.pd_linux
	# for z in associator commutator distributor invertor; do sed s/inlet/inlet~/ < generics/$$z.pd > generics/$$z~.pd; done
	echo > built

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

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