%% [EMAIL PROTECTED] writes: kl> I have a huge makefile with about 30 main targets each with there kl> dependencies.
kl> I want to log to a file whenever the make file is execute by which kl> user, date, and which main target is selected. I have no access kl> to command line options because the gmake command is called from a kl> software tool. Add this to your makefile: MAKELOG = mylogfile $(shell echo "`date`:`whoami`: $(MAKE) $(MAKECMDGOALS)" > $(MAKELOG)) -- ------------------------------------------------------------------------------- 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-gnu-utils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnu-utils
