# HG changeset patch # User samer # Date 1397322572 -3600 # Node ID b35af87b0459a894448c9119ad7458b825d54669 # Parent 42c3d1f5c03be9054789a43789fcef8cd3c02c81 Fixed Makefile to build foreign library diff -r 42c3d1f5c03b -r b35af87b0459 Makefile --- a/Makefile Sat Apr 12 17:56:36 2014 +0100 +++ b/Makefile Sat Apr 12 18:09:32 2014 +0100 @@ -19,7 +19,7 @@ # use '-bp' under Linux export INSTALL_FLAGS='-bCS' -VER=0.4.1 +VER=0.4.2 # ---------------- end of configuration --------------- export PACKNAME=plosc PACKFILE=release/$(PACKNAME)-$(VER).tgz @@ -29,9 +29,10 @@ packfile: mkdir -p $(PACKNAME) $(PACKNAME)/c $(PACKNAME)/prolog $(PACKNAME)/example - sed -e 's//$(VER)/' pack.pl > $(PACKNAME)/pack.pl + sed -e 's//$(VER)/' pack/pack.pl > $(PACKNAME)/pack.pl cp -p c/*.c $(PACKNAME)/c cp -p c/Makefile $(PACKNAME)/c + cp -p pack/Makefile $(PACKNAME)/Makefile cp -p prolog/*.pl $(PACKNAME)/prolog cp -p README $(PACKNAME) cp -p CHANGES $(PACKNAME) diff -r 42c3d1f5c03b -r b35af87b0459 pack/Makefile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pack/Makefile Sat Apr 12 18:09:32 2014 +0100 @@ -0,0 +1,19 @@ +# ---------------- configuration ---------------------- +export PLLD=$(SWIHOME)/bin/$(SWIARCH)/swipl-ld + +# set this to the prefix directory of your liblo installation +export LIBLO=/opt/local +# ---------------- end of configuration --------------- + +all: + make -C c + +check: + echo "No checks defined." + +clean: + make -C c clean + +install: all + install -d $(PACKSODIR) + install -bCS c/plosc.$(SOEXT) $(PACKSODIR) diff -r 42c3d1f5c03b -r b35af87b0459 pack/pack.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pack/pack.pl Sat Apr 12 18:09:32 2014 +0100 @@ -0,0 +1,7 @@ +name(plosc). +version(''). +author('Samer Abdallah','s.abdallah@ucl.ac.uk'). +title('OSC input/output via liblo'). +keywords([midi,osx]). +download('http://code.soundsoftware.ac.uk/projects/plosc/repository/raw/release/plosc-.tgz'). + diff -r 42c3d1f5c03b -r b35af87b0459 release/plosc-0.4.1.tgz Binary file release/plosc-0.4.1.tgz has changed diff -r 42c3d1f5c03b -r b35af87b0459 release/plosc-0.4.2.tgz Binary file release/plosc-0.4.2.tgz has changed