blob: 269f3392938350f277d03aae2b96598e5ab26afb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
current: pd_linux
pd_linux: pdp_guile.pd_linux
.SUFFIXES: .pd_linux
LINUXCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \
-Wall -W -Wstrict-prototypes -Werror \
-Wno-unused -Wno-parentheses -Wno-switch # -Wshadow
LINUXINCLUDE = -I../distro/pd/src -Idbot -I../include
.c.pd_linux:
gcc $(LINUXCFLAGS) $(LINUXINCLUDE) -o $*.o -c $*.c
gcc -export_dynamic -shared -o $*.pd_linux $*.o -lm \
-lguile #-lguile-ltdl -lqthreads -lpthread -lcrypt
strip --strip-unneeded $*.pd_linux
rm $*.o
clean:
rm -f *.pd_linux
rm -f *~
|