blob: 452c0048ed34b19702754e9f5f617eb582ff0ce0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
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) ;
|