diff options
author | N.N. <matju@users.sourceforge.net> | 2009-12-13 23:27:42 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2009-12-13 23:27:42 +0000 |
commit | 7356e69f5cb8a0c795d3c1176903d19a9be4a77c (patch) | |
tree | 26375d381a137fa2ecc5f0c799689595b65270cf /osc/Makefile | |
parent | 625f3d10f7844cc5784f84f0aba6c76590fee284 (diff) |
added by request from two independent people at once
svn path=/trunk/externals/mrpeach/; revision=12832
Diffstat (limited to 'osc/Makefile')
-rw-r--r-- | osc/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/osc/Makefile b/osc/Makefile new file mode 100644 index 0000000..3f987f5 --- /dev/null +++ b/osc/Makefile @@ -0,0 +1,38 @@ +# written by Alex Norman +# added by Mathieu Bouchard +# because there are several people who want to compile mrpeach/osc without pd-extended + +#change these to your liking +prefix = /usr/local/ +libdir = $(DESTDIR)/$(prefix)/lib/pd/extra/ +docdir = $(DESTDIR)/$(prefix)/lib/pd/doc/5.reference/ + +INCLUDES += -I/usr/local/include/ +CFLAGS += ${INCLUDES} -shared +SUFFIX = pd_linux +INSTALL = install + +SRC = packOSC.c \ + pipelist.c \ + routeOSC.c \ + unpackOSC.c + +TARGETS = ${SRC:.c=.${SUFFIX}} + +build: ${TARGETS} + +configure: + +#build the libraries +%.${SUFFIX}: %.c + ${CC} ${CFLAGS} -o $*.${SUFFIX} $< + +#install the libraries and documentation +install: ${TARGETS} + ${INSTALL} -t ${libdir} ${TARGETS} + ${INSTALL} -t ${docdir} *.pd + +clean: + rm -f ${TARGETS} + + |