Re: [dev] Re: Reasonable Makefiles

2014-02-11 Thread Hadrian Węgrzynowski
Dnia 2014-02-11, o godz. 20:15:06 Thorsten Glaser napisał(a): > “Re: *** GMX Spamverdacht *** [dev] Reasonable Makefiles”. > Honestly! > > > Markus Wichmann dixit: > > >A typical Makefile of mine looks like this: > > Ugh, a horrid GNUmakefile… I normally write: > > PROG= foo > > .i

Re: [dev] Re: Reasonable Makefiles

2014-02-11 Thread Paul Onyschuk
On Tue, 11 Feb 2014 20:15:06 + (UTC) Thorsten Glaser wrote: > > Ugh, a horrid GNUmakefile… I normally write: > > PROG= foo > > .include > Not that I defend GNU make, but you can do: foo: This will use implicit rules and will compile foo.c. If you have more than one file with s

[dev] Re: Reasonable Makefiles

2014-02-11 Thread Thorsten Glaser
“Re: *** GMX Spamverdacht *** [dev] Reasonable Makefiles”. Honestly! Markus Wichmann dixit: >A typical Makefile of mine looks like this: Ugh, a horrid GNUmakefile… I normally write: PROG= foo .include Or, if the sources are more than just foo.c, and if the manpage is in section 8