mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-12-26 05:14:36 +03:00
17 lines
475 B
Plaintext
17 lines
475 B
Plaintext
local current = "" ;
|
|
local includes = ;
|
|
local with-cmph = [ option.get "with-cmph" ] ;
|
|
if $(with-cmph) {
|
|
lib cmph : : <search>$(with-cmph)/lib <search>$(with-cmph)/lib64 ;
|
|
includes += <include>$(with-cmph)/include ;
|
|
current = "--with-cmph=$(with-cmph)" ;
|
|
}
|
|
else {
|
|
alias cmph ;
|
|
}
|
|
|
|
path-constant PT-LOG : bin/pt.log ;
|
|
update-if-changed $(PT-LOG) $(current) ;
|
|
|
|
fakelib CompactPT : [ glob *.cpp ] ../..//headers cmph : $(includes) <dependency>$(PT-LOG) : : $(includes) ;
|