Hi, I was experimenting on the recursive invocation of make. I found something that's not expected and couldn't find out why that happens by reading the manual.
Please see the attached package. Problem 1: Make is not recognizing the first available target "all" and is going behind another one. I have specified it as ".PHONY" have written "all" as the first target. But still make seems to skip it. Problem 2: Apart from the first bug, even if I specify -n switch, make tries to *execute* the commands for the target. There are a couple of variables set using the "shell" function. Interestingly, if I comment those out, make seems to work well! Please check whether this is a bug or not. Make version: 3.79.1 Machine: Linux xxxxx 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux Thanks Jeenu
maketest.tar
Description: Unix tar archive
_______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make