delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/05/17/15:04:00

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 <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <CW7qc.610$4P.230404138@hestia.telenet-ops.be>
(slavearcDOEDITWEG AT pandora DOT be)
Subject: Re: problem with DJGPP's make
References: <CW7qc.610$4P DOT 230404138 AT hestia DOT telenet-ops DOT be>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> %.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.

- Raw text -


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