Hello GNU Make-Win2 platform,
 
I am attaching a makefile called maketest.mak.
I find that $(*F) Special Macro is not being printed under Windows platform.
Can you please confirm whether it is a BUG or not in GNU Make version 3.81?
 
Following is the display output when I run the maketest.mak file :
 
************************************************************
Microsoft NMAKE result
************************************************************
C:\Partha\GNU\MAKE\tcbtut63\MAKE\MAKE_TEST>c:\nu\nmake /f maketest.mak
Microsoft (R) Program Maintenance Utility   Version 1.62.7022
Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
dummy4
dummy1 -- dummy1
dummy2 -- dummy2
NEXTMAKE
depend -- depend
product.tst
product -- product
"Perl Script Testing is complete"
 
*****************************************************************
GNU Make Version 3.81 result
*****************************************************************
C:\Partha\GNU\MAKE\tcbtut63\MAKE\MAKE_TEST>c:\partha\gnu\make\gnumake -f maketes
t.mak
dummy4
dummy1 -- dummy1
dummy2 -- dummy2
NEXTMAKE
 -- depend
product.tst
 -- product
"Perl Script Testing is complete"
C:\Partha\GNU\MAKE\tcbtut63\MAKE\MAKE_TEST>
****************************************************
 
If you see in the GNU Make result,
  -- depend
  -- product
lines above doesn't contain the corresponding expansion macro $(*F).
 
Thank you.
Regards
Partha
 

ALL: product.tst

product.tst: depend.tst
        @echo $(@F)
        @echo $(*F) -- product
#       @echo "Testing Product" > $(*F)
#       perl demo.pl
        @echo "Perl Script Testing is complete"

depend.tst: dummy1.o dummy2.o nextmake
        @echo $(*F) -- depend

dummy1.o : dummy4.c
        @echo $(*F) -- dummy1

dummy2.o : dummy2.c
        @echo $(*F) -- dummy2

nextmake :
        @echo NEXTMAKE

dummy4.c :
        @echo dummy4

clean :
        del dummy1.o
        del dummy2.o
_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to