diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-05-17 17:59:38 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2016-05-17 17:59:38 +0200 |
commit | d6f027ef3474bbc93d06865b0031bb6aae4fc031 (patch) | |
tree | 4fabe7e5d9ffb3fb8683e1309ebf52096083ba22 /Makefile.in | |
parent | 379f99594086a0934155bd09696938dc39d1802d (diff) |
Make: Silence echo in verbose mode
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index c2f8ad4e..cee217be 100644 --- a/Makefile.in +++ b/Makefile.in @@ -41,8 +41,10 @@ ifeq ($(objdir),.) endif ifeq ($(VERBOSE),) + E:=@ Q:=@ else + E:=@\# Q:= endif @@ -85,20 +87,20 @@ include $(addsuffix /Makefile,$(addprefix $(srcdir)/,$(dirs))) # Generic rules $(objdir)/%.o: $(srcdir)/%.c $(objdir)/.dir-stamp $(objdir)/sysdep/paths.h - $(Q)echo CC -o $@ -c $< + $(E)echo CC -o $@ -c $< $(Q)$(CC) $(CFLAGS) -MMD -MP -o $@ -c $< $(objdir)/%.o: $(objdir)/%.c $(objdir)/.dir-stamp $(objdir)/sysdep/paths.h - $(Q)echo CC -o $@ -c $< + $(E)echo CC -o $@ -c $< $(Q)$(CC) $(CFLAGS) -MMD -MP -o $@ -c $< $(objdir)/.dir-stamp: - $(Q)echo MKDIR -p $(addprefix $(objdir)/,$(dirs) doc) + $(E)echo MKDIR -p $(addprefix $(objdir)/,$(dirs) doc) $(Q)mkdir -p $(addprefix $(objdir)/,$(dirs) doc) $(Q)touch $@ $(client) $(daemon): - $(Q)echo LD $(LDFLAGS) -o $@ $^ $(LIBS) + $(E)echo LD $(LDFLAGS) -o $@ $^ $(LIBS) $(Q)$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(objdir)/sysdep/paths.h: Makefile |