blob: c4c5db96f7907334697e7f5a0b499f6e1f89bfb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
local current = "" ;
local includes = ;
local with-cmph = [ option.get "with-cmph" ] ;
if $(with-cmph) {
lib cmph : : <search>$(with-cmph)/lib ;
includes += <include>$(with-cmph)/include ;
current = "--with-cmph=$(with-cmph)" ;
}
else {
alias cmph ;
}
alias sources : [ glob *.cpp ] ;
path-constant PT-LOG : bin/pt.log ;
update-if-changed $(PT-LOG) $(current) ;
lib CompactPT : sources ..//moses_internal cmph : $(includes) <dependency>$(PT-LOG) ;
|