Date: Sun, 30 Nov 2008 10:53:27 -0500 From: Eitan Adler <eitanadlerlist@gmail.com> To: Hartmut Brandt <hartmut.brandt@dlr.de> Cc: freebsd-hackers@freebsd.org Subject: Re: change to make - error when Makefile doesn't exist Message-ID: <4932B6F7.4020206@gmail.com> In-Reply-To: <4932B193.7030106@dlr.de> References: <49320219.4070804@gmail.com> <4932B193.7030106@dlr.de>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hartmut Brandt wrote: <snip> > 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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4932B6F7.4020206>