On 11/14/2014 08:32 PM, Freddie Chopin wrote:
On 11/14/2014 06:46 PM, [email protected] wrote:
The former produces the message about a missing dependency, the
latter produces
the message about a ghost file.
You should use "order only input", so replace this:
: main.cpp One.h |> g++ -Wall $(INCFLAGS) -g -c main.cpp |> main.o
with this:
: main.cpp | One.h |> g++ -Wall $(INCFLAGS) -g -c main.cpp |> main.o
Actually you need to state proper path, that's also a problem in your
project. Tup doesn't understand your include path, so if you say "One.h"
it expects that file in the directory it runs. So the above line should be:
: main.cpp | $(TUP_CWD)/basic/libgen/src/One.h |> g++ -Wall $(INCFLAGS)
-g -c main.cpp |> main.o
Now it will work. Giving explicit path can be somehow solved using
global groups, but that feature is still undocumented, so all you can do
is search the list for some info if you want to use it.
Regards,
FCh
--
--
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.