aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 8383862965642b38426ddb44c044174457f87b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 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
PDFLAGS = -lib pureunity -noaudio -path generics -path specifics
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