Date: Mon, 6 Jul 1998 11:05:04 +0300 (IDT) From: Eli Zaretskii To: Jeremiah Zanin 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: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.