Boost logo

Boost-Build :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2005-01-23 16:53:33

mentions a new syntax for a similar problem, but what I
need is to do something like the following in gmake:

INCLUDES:= -I./includes/test $(INCLUDES)
include_test.o : include_test.cpp
g++ -c $(INCLUDES) include_test.cpp

IOW, for a specific target, I want to put a specific
include directory in front of all other include
directories. The nearest I can think of is:

obj include_test
: include_test.cpp
: <include>./includes/test

However, that doesn't work. What can I do?



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at