%% Kevin Nomura <[EMAIL PROTECTED]> writes: kn> Can I somehow specify precedence only, meaning to wait on kn> evaluating $(objs) until .genheaders is up-to-date?
Not without recursion. Sorry. kn> But it is too slow, because the Makefile is enormous and it gets kn> reparsed. Is there some way to avoid that? Well, you can break the makefile into two parts so that only the necessary parts are included in when you invoke the right make. If you don't want to physically break it up you can logically break it up by using ifeq, etc. to only parse the proper part of the file. For example you can check the value of $(MAKECMDGOALS) to decide which section of the makefile should be visible to the current invocation of make. That's about the only suggestion I have. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://www.paulandlesley.org/gmake/ "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/help-make
