-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
19 lines (13 loc) · 3.67 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
COCO_INCLUDE=$(HOME)/local/include/colibri-core/
COCO_LIB=$(HOME)/local/lib
all: newppl rescore
search: SLM-search.cpp
$(CXX) -Wno-deprecated-declarations -std=c++1y -g -O3 -I.. -o $@ $< ValueInterpolationStrategy.cpp PerplexityInterpolationStrategy.cpp NprefInterpolationStrategy.cpp RandomInterpolationStrategy.cpp CountInterpolationStrategy.cpp EntropyInterpolationStrategy.cpp MLEInterpolationStrategy.cpp Timer.cpp LimitedBackoffStrategy.cpp UniformInterpolationStrategy.cpp InterpolationStrategy.cpp FullBackoffStrategy.cpp Utils.cpp NgramBackoffStrategy.cpp BackoffStrategy.cpp BackoffStrategies.cpp LanguageModel.cpp Logging.cpp ProgramOptions.cpp -lcolibricore -lbz2 -lboost_serialization -I$(COCO_INCLUDE) -L$(COCO_LIB) -L/home/lonrust/Software/boost_1_56_0/stage/lib -I/home/lonrust/Software/boost_1_56_0
newpplmle: SLM-ppl.cpp
$(CXX) -Wno-deprecated-declarations -std=c++1y -g -O3 -I.. -o $@ $< ValueInterpolationStrategy.cpp PerplexityInterpolationStrategy.cpp NprefInterpolationStrategy.cpp RandomInterpolationStrategy.cpp CountInterpolationStrategy.cpp EntropyInterpolationStrategy.cpp MLEInterpolationStrategy.cpp Timer.cpp LimitedBackoffStrategy.cpp UniformInterpolationStrategy.cpp InterpolationStrategy.cpp FullBackoffStrategy.cpp Utils.cpp NgramBackoffStrategy.cpp BackoffStrategy.cpp BackoffStrategies.cpp LanguageModel.cpp Logging.cpp ProgramOptions.cpp -lcolibricore -lbz2 -lboost_serialization -I$(COCO_INCLUDE) -L$(COCO_LIB) -L/home/lonrust/Software/boost_1_56_0/stage/lib -I/home/lonrust/Software/boost_1_56_0
newppl: SLM-ppl.cpp
$(CXX) -Wno-deprecated-declarations -std=c++1y -g -O3 -I.. -o $@ $< ValueInterpolationStrategy.cpp PerplexityInterpolationStrategy.cpp NprefInterpolationStrategy.cpp RandomInterpolationStrategy.cpp CountInterpolationStrategy.cpp EntropyInterpolationStrategy.cpp MLEInterpolationStrategy.cpp Timer.cpp LimitedBackoffStrategy.cpp UniformInterpolationStrategy.cpp InterpolationStrategy.cpp FullBackoffStrategy.cpp Utils.cpp NgramBackoffStrategy.cpp BackoffStrategy.cpp BackoffStrategies.cpp LanguageModel.cpp Logging.cpp ProgramOptions.cpp -lcolibricore -lbz2 -lboost_serialization -I$(COCO_INCLUDE) -L$(COCO_LIB) -L/home/lonrust/Software/boost_1_56_0/stage/lib -I/home/lonrust/Software/boost_1_56_0
rescore: SLM-rescore.cpp
$(CXX) -Wno-deprecated-declarations -std=c++1y -g -O3 -I.. -o $@ $< ValueInterpolationStrategy.cpp PerplexityInterpolationStrategy.cpp TextPreprocessor.cpp RescoreModule.cpp NprefInterpolationStrategy.cpp RandomInterpolationStrategy.cpp CountInterpolationStrategy.cpp EntropyInterpolationStrategy.cpp MLEInterpolationStrategy.cpp NBestList.cpp Timer.cpp LimitedBackoffStrategy.cpp UniformInterpolationStrategy.cpp InterpolationStrategy.cpp FullBackoffStrategy.cpp Utils.cpp NgramBackoffStrategy.cpp BackoffStrategy.cpp BackoffStrategies.cpp LanguageModel.cpp Logging.cpp ProgramOptions.cpp -lcolibricore -lbz2 -lboost_serialization -I$(COCO_INCLUDE) -L$(COCO_LIB) -L/home/lonrust/Software/boost_1_56_0/stage/lib -I/home/lonrust/Software/boost_1_56_0
server: SLM-server.cpp
$(CXX) -Wno-deprecated-declarations -std=c++1y -g -O3 -I.. -o $@ $< ValueInterpolationStrategy.cpp PerplexityInterpolationStrategy.cpp NprefInterpolationStrategy.cpp RandomInterpolationStrategy.cpp CountInterpolationStrategy.cpp EntropyInterpolationStrategy.cpp MLEInterpolationStrategy.cpp Timer.cpp LimitedBackoffStrategy.cpp UniformInterpolationStrategy.cpp InterpolationStrategy.cpp FullBackoffStrategy.cpp Utils.cpp NgramBackoffStrategy.cpp BackoffStrategy.cpp BackoffStrategies.cpp LanguageModel.cpp Logging.cpp ProgramOptions.cpp -lcolibricore -lbz2 -lboost_serialization -I$(COCO_INCLUDE) -L$(COCO_LIB) -L/home/lonrust/Software/boost_1_56_0/stage/lib -I/home/lonrust/Software/boost_1_56_0