From owner-freebsd-hackers@FreeBSD.ORG Sun Apr 22 03:28:16 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0ED9D106564A for ; Sun, 22 Apr 2012 03:28:16 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C52748FC12 for ; Sun, 22 Apr 2012 03:28:15 +0000 (UTC) Received: by obqv19 with SMTP id v19so16111959obq.13 for ; Sat, 21 Apr 2012 20:28:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=tX2d64QWFiFLY3G+sZeJzf3L28ntPRBhU65RfzeTOOM=; b=pel/XqcRlu8DdulTWwU2KVc3A8kiKhbShv2uGOXqRltnlmfXeq3dMB8FMmivZLOAao a7YbvSUmVEXpvJdK8CD11ugKB/kk9XsO9a8VCHERUn1O7ZCgGVKdXW568jNJxKhimFUo tFYXHT0V+Dk2UhqTuZWPs2SeGqtr+tp7fZHNKVKVSm9ce7jmsKONTnSZc/4aIZU29do6 l7dVomrZCIJTPfJgf7+zyjE24Tp+DYMAftjBDkMj4grZr5lfexfkMUAl4CbhRwMeW7Ew Sr9yCfLcUKEsWpj98nsUIs9Cliwf2fJN+fnz+awwHcLzKJb805ISpk9PHGYRuKrQ4mby pdIw== Received: by 10.60.0.226 with SMTP id 2mr16281478oeh.18.1335065295474; Sat, 21 Apr 2012 20:28:15 -0700 (PDT) Received: from [192.168.2.5] (dpc691939029.direcpc.com. [69.19.39.29]) by mx.google.com with ESMTPS id b6sm11681603obe.12.2012.04.21.20.28.07 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 21 Apr 2012 20:28:14 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=windows-1252 From: Garrett Cooper In-Reply-To: <4F937874.7050506@rawbw.com> Date: Sat, 21 Apr 2012 20:27:55 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <636B7510-BBE3-4147-B6F4-04F47438858A@gmail.com> References: <4F937874.7050506@rawbw.com> To: Yuri X-Mailer: Apple Mail (2.1257) Cc: freebsd-hackers@FreeBSD.org Subject: Re: Why make(1) doesn't support the internal macro $< ? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Apr 2012 03:28:16 -0000 On Apr 21, 2012, at 8:18 PM, Yuri wrote: > When I run 'make' on the following makefile, $@ gets printed but $< = doesn't. >=20 > Why? >=20 > Yuri >=20 >=20 > --- Makefile --- > file-out: file-in > @echo "target=3D" $@ " src=3D" $<; touch $@ You want `$>`... .IMPSRC is something else=85 Cheers, -Garrett=