CObjectSystem / COS

C Object System: a framework that brings C to the level of other high level programming languages and beyond

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

building with SHOW=yes entirely hides the informative build step output

bkerin opened this issue · comments

It's still nice to be able to see e.g.:

*** Running [debug] cos-props_d

when SHOW=yes, changing it to output comment prefix keeps the output true (i.e. paste-and-buildable).

original, ends up hiding step descriptions when SHOW=yes (annoying):

#E := $(if $(call eq,$(SHOW),yes),@ #,@ echo)

If SHOW is yes start $E lines with comment prefix, otherwise just plain @ echo:

E := $(if $(call eq,$(SHOW),yes),@ echo '#',@ echo)

I think just putting such lines as comments would work as well and make $E unneeded so maybe there is some reason this was done that I'm not aware of.

This is now more or less fixed but I'm slightly unhappy with the fix as it introduces an inconsistency with the *** output format used elsewhere, I think it would be better to remove E entirely and always output # *** Whatever, hence this note-to-self

no follow-up for a while, closing