Mercurial > hg > plml
view Makefile.templ @ 37:89688ebc447f tip
Deprecating this repository.
author | samer |
---|---|
date | Mon, 05 Jan 2015 17:42:03 +0000 |
parents | 5e2967a54316 |
children |
line wrap: on
line source
# ---------------- configuration ---------------------- # Point this at your Matlab installation, eg # export MATLAB=/Applications/MATLAB_R2009b.app export MATLAB=/usr/local/matlab7 # this needs to match the correct subdirectory of $(MATLAB)/bin # export MLARCH=glnx86 # 32 bit Linux # export MLARCH=maci # 32 bit Intel Mac # export MLARCH=mac # PowerPC Mac export MLARCH=maci64 # I arrived at these by trial and error so it may need adjusting. # export MLLIBS=-leng -lmx -lmat -licuuc -licudata -licui18n -lz -lreadline export MLLIBS=-leng # target is plml.dylib for OSX, plml.so under Linux # export SO=so export SO=dylib # if you have multiple SWI Prolog installations or an installation # in a non-standard place, set PLLD to the appropriate plld invokation, eg # PLLD=/usr/local/bin/plld -p /usr/local/bin/swipl export PLLD=swipl-ld # install directories export INSTALL_LIB_TO=~/lib/prolog/x86_64 export INSTALL_PL_TO=~/lib/prolog export INSTALL_ML_TO=~/matlab # flags for install - BSD install seems to be different from GNU install # export INSTALL_FLAGS='-bp' # for GNU/Linux export INSTALL_FLAGS='-bCS' # for Mac OS X # on Mac OS X Lion using MacPorts gcc 4.2, you need this to select # the correct C++ compiler. Leave CXX blank otherwise. #export CXX=-c++ g++-apple-4.2 export CXX= VER=1.0 # ---------------- end of configuration --------------- main: make -C cpp clean: make -C cpp clean install: main make -C cpp install make -C prolog install make -C matlab install tarball: mkdirhier release (cd .. && tar czf plml/release/plml-$(VER).tar.gz --exclude CVS --exclude "*.gz" --exclude release plml)