.ACTIONWRAP Example
----------
[prev] [home] [next]

Contents of Makefile:
if modify_rules
.ACTIONWRAP :
	: "starting $(<:A=.COMMAND:?command ??)target $(<) at `silent date`"
	$(@)
	: "target $(<) completed at `silent date`"
end
CC = CC
a :: a.c
Run nmake:
$ nmake
+ CC -O --prelink_copy_if_nonlocal -I- -c a.c
+ CC -O --prelink_copy_if_nonlocal -o a a.o

$ nmake clobber
+ ignore rm -f a.o a Makefile.mo Makefile.ms

$ nmake modify_rules=1
+ : starting target a.o at Tue Jun  8 13:34:03 EDT 1999
+ CC -O --prelink_copy_if_nonlocal -I- -c a.c
+ : target a.o completed at Tue Jun  8 13:34:04 EDT 1999
+ : starting command target a at Tue Jun  8 13:34:04 EDT 1999
+ CC -O --prelink_copy_if_nonlocal -o a a.o
+ : target a completed at Tue Jun  8 13:34:06 EDT 1999
6/21/99 Page 18
nmake@alcatel-lucent.com
[prev] [home] [next] Nokia