Skip to content

Commit

Permalink
Reduce Makefile/gcc prints to clean build output
Browse files Browse the repository at this point in the history
The gcc commandlines and other prints can be useful, but most of the
time they are overwhelming especially for non-C programmers. This
silences the prints.

To re-enable, set `V=1` like is common with many Makefile/C projects.
For example `V=1 make`, `V=1 mix compile`, etc.
  • Loading branch information
fhunleth committed Jul 8, 2021
1 parent db39b27 commit a6b03d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -94,3 +94,6 @@ format:
src/*.c

.PHONY: all clean calling_from_make install format

# Don't echo commands unless the caller exports "V=1"
${V}.SILENT:

0 comments on commit a6b03d6

Please sign in to comment.