Assume cap’n’proto is installed in parent of build directory

This commit is contained in:
Allan Odgaard
2014-03-14 22:07:45 +07:00
parent 6d6210e490
commit af64ded155
2 changed files with 3 additions and 3 deletions

View File

@@ -837,7 +837,7 @@ rule gen_ragel
description = Generate source from $in
rule gen_capnp
command = capnp compile -oc++ $in
command = PATH="$builddir/../bin:$PATH" capnp compile -oc++ $in
generator = 1
description = Generate source from $in

4
target
View File

@@ -25,8 +25,8 @@ LN_FLAGS += -Wl,-dead_strip
LN_FLAGS += -Wl,-dead_strip_dylibs
LN_FLAGS += -rpath @executable_path/../Frameworks
CXX_FLAGS += -I/usr/local/include
LN_FLAGS += -L/usr/local/lib
CXX_FLAGS += -I/Users/duff/build/include
LN_FLAGS += -L/Users/duff/build/lib
PRELUDE = Shared/PCH/prelude.*