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

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) $(CFLAGS) -shared -o pureunity.pd_linux pureunity.c