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

Makefile « misc - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a21823f2740fc8a19a7cf5eebb7e725e02c7f0e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23


BOOSTDIR=/home/ws06/cdyer/boost-stage
CXX=g++
CXXFLAGS=-W -Wall -O0 -g -ggdb -ffor-scope -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
LDFLAGS=-static
INCLUDES=-I../moses/src -I$(BOOSTDIR) -I$(BOOSTDIR)/include
LIBS=-L$(BOOSTDIR)/lib -L$(BOOSTDIR)/stage/lib -lboost_iostreams-gcc-mt -lboost_filesystem-gcc-mt -lboost_thread-gcc-mt -lz


default: processPhraseTable

processPhraseTable.o: processPhraseTable.cpp
	$(CXX) $(CXXFLAGS) $(INCLUDES) $< -c -o $@

MOSESLIB =../moses/src/libmoses.a

processPhraseTable: processPhraseTable.o $(MOSESLIB)
	$(CXX) $(LDFLAGS) $^ -o $@ $(LIBS)