%% [EMAIL PROTECTED] writes: m> $(eval ...) and $(call ...) seem very powerful, but somewhat m> difficult to really debug. Is there a way I can tell make to m> process my makefile expanding the $(eval ...) and $(call ...) and m> print out the result of this first pass expansion?
No. m> it would be nice have a way to produce: m> client: $(client_OBJS) m> ALL_OBJS+=$(client_OBJS) m> server: $(server_OBJS) m> ALL_OBJS+=$(server_OBJS) It might be helpful to use the -p option to see what targets make actually stored in its database. I agree that some better debugging is needed, but currently there isn't any. I plan to look into different types of debugging output in the future however. Something like what you're asking for above shouldn't be very difficult I don't think. m> oh, also the manual should have "OBJS" not "OBJ" in the PROGRAM_template m> definition. Thx. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "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
