From 28c94b3c67e2e188ff7be376d7027569cffd4466 Mon Sep 17 00:00:00 2001 From: philblunsom Date: Mon, 19 Jul 2010 23:16:49 +0000 Subject: A slightly more general version. git-svn-id: https://ws10smt.googlecode.com/svn/trunk@328 ec762483-ff6d-05da-a07a-a48fb63a330f --- gi/pyp-topics/src/macros.Linux | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'gi/pyp-topics/src') diff --git a/gi/pyp-topics/src/macros.Linux b/gi/pyp-topics/src/macros.Linux index ade6d92d..7c6e7fa7 100644 --- a/gi/pyp-topics/src/macros.Linux +++ b/gi/pyp-topics/src/macros.Linux @@ -1,16 +1,14 @@ -#CC=gcc-4.1 -#CXX=g++-4.1 -#LD=g++-4.1 -#FC=gfortran-4.1 -CC = mpicc -CXX = mpicxx -LD = mpicxx -FC = mpif77 +CC = /home/pblunsom/software/bin/mpicc +CXX = /home/pblunsom/software/bin/mpicxx +LD = /home/pblunsom/software/bin/mpicxx +FC = /home/pblunsom/software/bin/mpif77 -CXXFLAGS = -Wall -I/home/pblunsom/packages/include -CFLAGS = -Wall -I/home/pblunsom/packages/include +SOFTWARE_DIR=/export/ws10smt/software + +CXXFLAGS = -Wall -I${SOFTWARE_DIR}/include +CFLAGS = -Wall -I${SOFTWARE_DIR}/include FFLAGS = -Wall -LDFLAGS = -lm -lz -L/home/pblunsom/packages/lib \ +LDFLAGS = -lm -lz -L${SOFTWARE_DIR}/lib \ -lboost_program_options -lboost_mpi -lboost_serialization \ -lboost_regex -L../../../decoder -lcdec -- cgit v1.2.3