Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/giza-pp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorredpony <redpony@ca354974-eb3a-0410-8f5c-d3948404989b>2009-03-20 15:04:11 +0300
committerredpony <redpony@ca354974-eb3a-0410-8f5c-d3948404989b>2009-03-20 15:04:11 +0300
commitcae5e536a3943a31b45ff962d2c016dfe5fcd2a6 (patch)
tree9fe8bebdedebf353b8e6f28a8d5a4e0bcf92af00
parentf230281b249108452b1fff9e7bd9c43195a45e8d (diff)
automatically fix for MacOSX
-rw-r--r--GIZA++-v2/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/GIZA++-v2/Makefile b/GIZA++-v2/Makefile
index 1baa134..b94448d 100644
--- a/GIZA++-v2/Makefile
+++ b/GIZA++-v2/Makefile
@@ -12,7 +12,12 @@ CFLAGS_NRM = $(CFLAGS) -DWORDINDEX_WITH_4_BYTE
CFLAGS_VDBG = $(CFLAGS) -g -DDEBUG -DWORDINDEX_WITH_4_BYTE -DVDEBUG
SRC = *.cpp
TYPE =
-LDFLAGS = -static
+ifeq ($(shell uname),Darwin)
+ LDFLAGS =
+else
+ LDFLAGS = -static
+endif
+
include Makefile.src
OBJ_DIR_PRF = profile/