bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make doesn't honor -n switch plus wrong target selection


From: Jeenu V
Subject: make doesn't honor -n switch plus wrong target selection
Date: Mon, 10 Sep 2007 15:37:17 +0530

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

Attachment: maketest.tar
Description: Unix tar archive


reply via email to

[Prev in Thread] Current Thread [Next in Thread]