changeset 3:9b16fbec2f33

Added installer for matlab scripts.
author samer
date Thu, 19 Jan 2012 14:04:55 +0000
parents 546bfd3988b0
children 193d582746e5 d3b9cbaee77b
files Makefile cpp/Makefile
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Fri Jan 13 15:53:04 2012 +0000
+++ b/Makefile	Thu Jan 19 14:04:55 2012 +0000
@@ -21,6 +21,7 @@
 # install directories
 export INSTALL_LIB_TO=~/lib/prolog/x86_64
 export INSTALL_PL_TO=~/lib/prolog/source
+export INSTALL_ML_TO=~/lib/matlab
 
 # flags for install - BSD install seems to be different from GNU install
 export INSTALL_FLAGS='-bCS'
@@ -37,6 +38,7 @@
 install: main
 	make -C cpp install
 	make -C prolog install
+	make -C matlab install
 
 tarball:
 	mkdirhier release
--- a/cpp/Makefile	Fri Jan 13 15:53:04 2012 +0000
+++ b/cpp/Makefile	Thu Jan 19 14:04:55 2012 +0000
@@ -4,7 +4,7 @@
 TARGET=plml.$(SO)
 INCML=$(MATLAB)/extern/include
 LIBML=$(MATLAB)/bin/$(MLARCH)
-PLLDFLAGS=-c++ g++-apple-4.2 $(INCLUDES) -I$(INCML) -Wall
+PLLDFLAGS=-c++ g++-4.2 $(INCLUDES) -I$(INCML) -Wall
 
 .SUFFIXES: .cpp .o .so .dylib