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

See this example:

http://gittup.org/tup/ex_generated_header.html

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.

Reply via email to