X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Tomasz =?UTF-8?B?WmJyb8W8ZWs=?= Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbe: djgpp does not see "make" macros Date: Wed, 06 Feb 2008 20:04:56 +0100 Organization: Onet.pl Lines: 6 Message-ID: References: <1qCdnVDGo5QgWjnanZ2dnUVZ_veinZ2d AT giganews DOT com> NNTP-Posting-Host: unregister019009144195.c9.msk.pl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.onet.pl 1202324437 17435 195.144.9.19 (6 Feb 2008 19:00:37 GMT) X-Complaints-To: usenet AT news DOT onet DOT pl NNTP-Posting-Date: Wed, 6 Feb 2008 19:00:37 +0000 (UTC) X-Sender: 5kBp3uke6SNK7Iok0CQ7D+tf2F7Zp6gWLVAhLsCW5ev1Xh5aeedsGg== User-Agent: KNode/0.10.2 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I'm not expert but I would write your makefile like this: HELLOSRC = hello.c hello2.c hello3.c hello.exe: ${HELLOSRC:.c=.o} $(CC) $^ -o $@ -lm