Mail Archives: djgpp/1997/10/12/17:12:50
>When checking that (target) is up to date, the (command)s are run iff at
>least one (dependency) has a more recent timestamp than (target). For C
>programs, you want this to be the case whenever a #included header file or
>the C source file for a particular module has modified since that module
>was last rebuilt.
Thanx for pointing this out. I forgot to put in the .c files there!
>Note also that Make only tries to make the first target in the file (`all'
>in your case). In doing so, it would try to check that runme.exe is up to
>date; runme.exe may not exist, in which case Make assumes that it needs
>rebuilding, but you haven't told it how (there's no rule with the target
>`runme.exe').
Yup, you're right again, and I was wrong. I'm terribly sorry if this lead
to any inconvenience for someone!
-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --
*****************************************************
* A brief description of DJGPP: *
* NEVER BEFORE HAS SO FEW DONE SO MUCH FOR SO MANY! *
*****************************************************
- Raw text -