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

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

# where to find include files and libraries from Moses
MOSES_INC=../../moses/src
LIB_DIR=../../moses/src/

LIBS=-lmoses -lz
OBJS=Main.o NBest.o Hypo.o Tools.o ParameterNBest.o

CFLAGS=-I$(MOSES_INC)

nbest-tool: $(OBJS)
	$(CXX) -o nbest $(OBJS) -L$(LIB_DIR) $(LIBS)

%.o: %.cpp
	$(CXX) $(CFLAGS) -o $@ -c $<

clean:
	-rm $(OBJS) nbest