From owner-freebsd-questions Sat Jan 20 20:50:48 2001 Delivered-To: freebsd-questions@freebsd.org Received: from xena.gsicomp.on.ca (cr677933-a.ktchnr1.on.wave.home.com [24.43.230.149]) by hub.freebsd.org (Postfix) with ESMTP id A5A0D37B404 for ; Sat, 20 Jan 2001 20:50:26 -0800 (PST) Received: from hermes (hermes.gsicomp.on.ca [192.168.0.18]) by xena.gsicomp.on.ca (8.9.3/8.9.3) with SMTP id XAA86237; Sat, 20 Jan 2001 23:49:44 -0500 (EST) (envelope-from matt@gsicomp.on.ca) Message-ID: <005201c08366$21f34db0$1200a8c0@gsicomp.on.ca> From: "Matthew Emmerton" To: "Gustavo Vieira Goncalves Coelho Rios" , References: <3A6A6704.F817CEE4@ifour.com.br> Subject: Re: Why make complains ? Date: Sat, 20 Jan 2001 23:53:43 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am trying to get this Makefile running: > > > DEP_EXT = FCGI_IO > > FCGI_IO ?= /usr/local/include > > main : > .for _DEP_EXT in ${DEP_EXT} > .if ${_DEP_EXT} == FCGI_IO > echo ${DEP_EXT} > .endif > .endfor You need the conditional of the if statement in brackets: .if (${_DEP_EXT} == FCGI_IO) -- Matt Emmerton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message