change to make - error when Makefile doesn't exist

Eitan Adler eitanadlerlist at gmail.com
Sun Nov 30 07:53:39 PST 2008


-----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-----


More information about the freebsd-hackers mailing list