RE: A possible bug (or a feature) : dependencies shown in dry-run but not rebuilt

2002-11-14 Thread David Mentre
Hello Mr Smith, -Original Message- From: Paul D. Smith [mailto:psmith;gnu.org] Sent: mercredi 13 novembre 2002 17:34 To: David Mentre dmPrerequisite `x.h' is newer than target `x.c'. ok No, not OK! You don't want to specify that the .c file depends on the .h

A possible bug (or a feature) : dependencies shown in dry-run but not rebuilt

2002-11-13 Thread David Mentre
Hello, I don't know if it is a bug or a feature, but I observe a strange behavior with a makefile of my own. You'll find the Makefile as well as needed dummy file in the attachement. For this project, if a make a 'make' on an empty directory, everything is made correctly. However, if I modify

Re: A possible bug (or a feature) : dependencies shown in dry-run but not rebuilt

2002-11-13 Thread Paul D. Smith
I tried your environment on my Debian GNU/Linux box with GNU make 3.79.1 and it worked fine for me: when I ran make everything was rebuilt and when I ran make x.o, x.o was rebuilt. It didn't say they were up to date. There must be something else about your environment that's causing this

RE: A possible bug (or a feature) : dependencies shown in dry-run but not rebuilt

2002-11-13 Thread David Mentre
Hello Mr Smith, -Original Message- From: Paul D. Smith [mailto:psmith;gnu.org] Sent: mercredi 13 novembre 2002 16:17 I tried your environment on my Debian GNU/Linux box with GNU make 3.79.1 and it worked fine for me: when I ran make everything was rebuilt and when I ran make

RE: A possible bug (or a feature) : dependencies shown in dry-run but not rebuilt

2002-11-13 Thread Paul D. Smith
%% David Mentre [EMAIL PROTECTED] writes: dmPrerequisite `x.h' is newer than target `x.c'. ok No, not OK! You don't want to specify that the .c file depends on the .h file. You don't update the .c file when the .h file changes: you have no rule for that. It's the .o file that