On Fri, Oct 14, 2022 at 11:29:23PM +0600, NRK wrote: > > * Remove config.mk > > This... > > > diff --git a/config.mk b/config.mk > > index e69209e..0c06c2c 100644 > > --- a/config.mk > > +++ b/config.mk > > ...does not look "removed" to me :) > > Also I think it's best to keep it, to be consistent with other suckless > projects. > > - NRK >
Yes, but things can change, Some rationale of the changes are described here: gopher://bitreich.org/1/scm/bitreich-style/file/c/makefile-guideline.txt.gph For example suppressing output (with @) which adds a small obstacle for debugging the build process has always been a nuisance. The build process should be as transparent as possible imho. This also removes the need of the old "options" target. Another thing we should adapt in my opinion is changing the way CFLAGS, LDFLAGS and CPPFLAGS are set so packagers/porters can set the build environment more easily. Hardcoding certain flags and optimizations are a nuisance. Currently some distributions also patch config.mk, which is bad imho. There are also more subtle flags, like compiler hardening flags which won't always work (it requires a particular order). -- Kind regards, Hiltjo
