bug-make
[Top][All Lists]
Advanced

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

Different behaviors


From: Feldman, Nir
Subject: Different behaviors
Date: Sun, 20 Mar 2005 10:06:49 +0200

Hi,

I am using GNU Make 3.80.

My operation system is Windows XP.

I got a problem:

When including another make file gnu make  behaves differently when the shell used is sh.exe (of cygwin) and cmd.exe(of MS).

I am trying to generate dependencies and include it in my makefile.

Though I have a rule:

%.d : %.c

            create the d file

And another rule

Include xxx.d

 

In unix like shell gnu make tries to create the .d file (before it includes it) where in cmd shell it first includes it no matter if it is up to date or not.

 

Why does it happens and why does make behaves differently using two shells.

 

Kind Regards,

Nir Feldman

Intel Software Development & Methodologies Team


reply via email to

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