Re: change to make - error when Makefile doesn't exist

2008-11-30 Thread Hartmut Brandt
Eitan Adler wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I stupidly forgot to make a backup so I can't provide a diff but in src/usr.bin I changed TryReadMakefile(Makefile); to if (!TryReadMakefile(Makefile)) Fatal(Makefile could not be opened); That

Re: change to make - error when Makefile doesn't exist

2008-11-30 Thread Eitan Adler
-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.

change to make - error when Makefile doesn't exist

2008-11-29 Thread Eitan Adler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I stupidly forgot to make a backup so I can't provide a diff but in src/usr.bin I changed TryReadMakefile(Makefile); to if (!TryReadMakefile(Makefile)) Fatal(Makefile could not be opened); That way you could