aboutsummaryrefslogtreecommitdiff
path: root/pluginhost~/makefile
diff options
context:
space:
mode:
authorJamie Bullock <postlude@users.sourceforge.net>2010-12-15 10:54:50 +0000
committerJamie Bullock <postlude@users.sourceforge.net>2010-12-15 10:54:50 +0000
commitb78ff2c5781fec8e1dc85fcc27ee26f5183d0488 (patch)
treeea06f2eabffc715a18b66b573b29c5550c6f623d /pluginhost~/makefile
parent2e7ffd891d3525be925b2e8dd33c57690c6e2784 (diff)
- modularised code a bit more
svn path=/trunk/externals/postlude/; revision=14642
Diffstat (limited to 'pluginhost~/makefile')
-rwxr-xr-xpluginhost~/makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/pluginhost~/makefile b/pluginhost~/makefile
index d488535..214466b 100755
--- a/pluginhost~/makefile
+++ b/pluginhost~/makefile
@@ -27,7 +27,10 @@ LINUXINCLUDE = -I/usr/include -I./include
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/jsearch.c
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/jload.c
$(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/pluginhost~.c
- gcc --export-dynamic -shared -o $(NAME).pd_linux pluginhost~.o jload.o jsearch.o -lc -lm
+ $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/handlers_osc.c
+ $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/handlers_pd.c
+ $(CC) $(LINUXCFLAGS) $(LINUXINCLUDE) -c src/ph_common.c
+ gcc --export-dynamic -shared -o $(NAME).pd_linux pluginhost~.o jload.o jsearch.o handlers_osc.o handlers_pd.o ph_common.o -lc -lm
# strip --strip-unneeded $(NAME).pd_linux
cp $(NAME).pd_linux ~/pd-externals/
rm -f *.o
@@ -46,7 +49,10 @@ DARWININCLUDE = -I ./ -I ../src -I/usr/local/include/ -I ./include -I/usr/local/
$(CC) $(DARWINCFLAGS) $(DARWININCLUDE) -c src/jsearch.c
$(CC) $(DARWINCFLAGS) $(DARWININCLUDE) -c src/jload.c
$(CC) $(DARWINCFLAGS) $(DARWININCLUDE) -c src/pluginhost~.c
- $(CC) -arch $(ARCHITECTURE) -bundle -undefined suppress -flat_namespace -o $(NAME).pd_darwin pluginhost~.o jload.o jsearch.o
+ $(CC) $(DARWINCFLAGS) $(DARWININCLUDE) -c src/handlers_osc.c
+ $(CC) $(DARWINCFLAGS) $(DARWININCLUDE) -c src/handlers_pd.c
+ $(CC) $(DARWINCFLAGS) $(DARWININCLUDE) -c src/ph_common.c
+ $(CC) -arch $(ARCHITECTURE) -bundle -undefined suppress -flat_namespace -o $(NAME).pd_darwin pluginhost~.o jload.o jsearch.o handlers_osc.o handlers_pd.o ph_common.o
rm -f *.o
# ----------------------- Generic -----------------------