X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 17 May 2004 15:03:55 -0400 Message-Id: <200405171903.i4HJ3tdN028349@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: (slavearcDOEDITWEG AT pandora DOT be) Subject: Re: problem with DJGPP's make References: Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > %.o : $(patsubst %.o, %cpp, $(OBJS)) $(HDRS) The right way to do this is: %.o : %.cpp $(HDRS) The % wildcard matches on both sides. Plus, try "make -nr" to show you what make would do without its internal rules. It might help.