aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: 829584e70133f74243801a8ad81889f0d8c77a9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# where is your m_pd.h ???

LINUXINCLUDE =  -I/usr/local/include




beatpipe: beatpipe.c
	gcc $(CFLAGS) $(LINUXCFLAGS) $(LINUXINCLUDE) -o beatpipe.o -c beatpipe.c
	ld --export-dynamic  -shared -o beatpipe.pd_linux beatpipe.o -lc -lm
	strip --strip-unneeded beatpipe.pd_linux
	rm beatpipe.o


install:

	cp help-beatpipe.pd /usr/local/lib/pd/doc/5.reference
	cp beatpipe.pd_linux /usr/local/lib/pd/externs


clean:
	rm beatpipe.pd_linux