delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/06/04:07:19

Date: Mon, 6 Jul 1998 11:05:04 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jeremiah Zanin <jzanin AT cs DOT unm DOT edu>
cc: djgpp AT delorie DOT com
Subject: Re: Automatic dependancies and header files, help!
In-Reply-To: <002001bda82f$690e0e20$2b0e1881@pegasus.unm.edu>
Message-ID: <Pine.SUN.3.91.980706110442.26454A-100000@is>
MIME-Version: 1.0

On Sun, 5 Jul 1998, Jeremiah Zanin wrote:

> Ok, here ya go, Sound.C won't compile if I change Sound.h, or the header
> files in Sound.h for example.

That's because you keep your object files in a different directory,
but the generated .d file says ``Sound.o: Sound.h'' instead of
``$(OBJDIR)/Sound.o: Sound.h''.  So Make doesn't consider the
dependency in the .d file as something that pertains to
$(OBJDIR)/Sound.o and doesn't recompile it.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019