blob: d62358e863c732c6d956809df8b767da0114f695 (
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
25
26
27
|
include Makefile.config
all: $(TARGET)
linux: pdp_opengl.pd_linux
darwin: pdp_opengl.pd_darwin
subdirs:
make -C system
make -C modules
make -C include
clean:
make -C system clean
make -C modules clean
make -C include clean
rm -f pdp_opengl.pd_linux
rm -f *~
pdp_opengl.pd_linux: subdirs
rm -f pdp_opengl.pd_linux
$(CC) -export_dynamic -shared -o pdp_opengl.pd_linux modules/*.o system/*.o $(LDFLAGS) -g
pdp_opengl.pd_darwin: subdirs
rm -f pdp_opengl.pd_linux
$(CC) -o pdp_opengl.pd_pd_darwin modules/*.o system/*.o $(LDFLAGS) -g -bundle -bundle_loader $(PD_EXECUTABLE)
|