From owner-freebsd-hackers@FreeBSD.ORG Sun Nov 30 15:53:38 2008 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 F24131065672 for ; Sun, 30 Nov 2008 15:53:38 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from rn-out-0910.google.com (rn-out-0910.google.com [64.233.170.186]) by mx1.freebsd.org (Postfix) with ESMTP id A0FFA8FC08 for ; Sun, 30 Nov 2008 15:53:38 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: by rn-out-0910.google.com with SMTP id j71so1629581rne.12 for ; Sun, 30 Nov 2008 07:53:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:user-agent :mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding :from; bh=nPz98Nxpi67nUjdD2pcdPpoK7vJiirLs+57XpvgHxSc=; b=jJFcSRdJ3/9rkis4TGfVKYBaK0qhcMCtv4c/j9axR+hVWI145kc9Ru6kUmMM6HCga2 NHwsoSO/TrBROdE2qKmm5SaC/OFJzm2ZkRerzYw9/CcZ+6kVzITmNO9oUdVe/09XVo98 PTTXP/+mKvk7Eg1pDivSmrBiM6j2mZJZoBBHE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:user-agent:mime-version:to:cc:subject:references :in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding:from; b=Qfzs4CAupJysx59LOt8rq34FaPzzLYihHy3SLJQgQBHl/pN2MCSg6Iexz9PCkGXDdc ZwTBRNCfFCQvOTkNrD/0NFamMKUe1MESmMXwlImwRn5OgEpRbvBZ2WUzE6YOSu0rmMQT Q7SWuKsypBxdNxC37/YGeeFtQup3X/QrDnQi0= Received: by 10.90.71.15 with SMTP id t15mr5372628aga.90.1228060417907; Sun, 30 Nov 2008 07:53:37 -0800 (PST) Received: from aargh.lan (ool-182d26f3.dyn.optonline.net [24.45.38.243]) by mx.google.com with ESMTPS id 20sm3692151agd.35.2008.11.30.07.53.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 30 Nov 2008 07:53:37 -0800 (PST) Message-ID: <4932B6F7.4020206@gmail.com> Date: Sun, 30 Nov 2008 10:53:27 -0500 User-Agent: Mozilla (X11; U; FreeBSD i386; en-US; ) Gecko Thunderbird Mnenhy/0.7.5.666 MIME-Version: 1.0 To: Hartmut Brandt References: <49320219.4070804@gmail.com> <4932B193.7030106@dlr.de> In-Reply-To: <4932B193.7030106@dlr.de> X-Enigmail-Version: 0.95.7 OpenPGP: id=E9C2CCD1; url=pgp.mit.edu Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit From: Eitan Adler Cc: freebsd-hackers@freebsd.org Subject: Re: change to make - error when Makefile doesn't exist 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, 30 Nov 2008 15:53:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hartmut Brandt wrote: > It is perfectly valid to have no makefile yet to run make. Make has a > number of builtin rules. If, for example, you have a file x.c then 'make > x' or 'make x.o' make will cause make to compile x.c even without a > makefile. But if you have no Makefile, you must specify a target. > Otherwise how would make know what to make? So the error message is > quite exact: it is an error to have no makefile AND to specify no target. > Ah - I was not aware of this - thanks. - -- Eitan Adler GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkkytvcACgkQtl8kq+nCzNFRTwCfcI3cfiDSC3sprwqOBtf3Xu/r Cy8AnRpNDqoZW1RVD+++12dmp8EqT8X2 =UUnY -----END PGP SIGNATURE-----