mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-27 01:25:34 +00:00
Clean PROGS so elinks binary is removed; make V=1 clean
print commands
This fixes a typo (s/PROG/PROGS/) and reintroduces the Q variable which is conditionally set to empty or @, so that commands can be easily quieted. We should probably use it for more stuff in Makefile.lib.
This commit is contained in:
parent
00fc1c394c
commit
4f2dd4f842
|
@ -25,9 +25,11 @@ SPARSE_FLAGS = -D__BIG_ENDIAN__ -D__powerpc__
|
||||||
ifdef V
|
ifdef V
|
||||||
quiet =
|
quiet =
|
||||||
mquiet = masq_
|
mquiet = masq_
|
||||||
|
Q =
|
||||||
else
|
else
|
||||||
quiet = quiet_
|
quiet = quiet_
|
||||||
mquiet = quiet_
|
mquiet = quiet_
|
||||||
|
Q = @
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Show the command (quiet or non-quiet version based on the assignment
|
# Show the command (quiet or non-quiet version based on the assignment
|
||||||
|
@ -121,7 +123,7 @@ endif
|
||||||
rm .deps/$(*F).pp; \
|
rm .deps/$(*F).pp; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CLEAN += $(PROG) $(OBJS) $(LIB_O_NAME)
|
CLEAN += $(PROGS) $(OBJS) $(LIB_O_NAME)
|
||||||
|
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
@ -139,7 +141,7 @@ init-default:
|
||||||
|| echo 'include $(SRC)/$(RELPATH)/$(subdir)/Makefile' > $(subdir)/Makefile;)
|
|| echo 'include $(SRC)/$(RELPATH)/$(subdir)/Makefile' > $(subdir)/Makefile;)
|
||||||
|
|
||||||
clean-default cleanall-default:
|
clean-default cleanall-default:
|
||||||
@-test -z "$(CLEAN)" || $(RM) $(CLEAN)
|
$(Q)-test -z "$(CLEAN)" || $(RM) $(CLEAN)
|
||||||
|
|
||||||
check-default:
|
check-default:
|
||||||
ifneq ($(SPARSE),)
|
ifneq ($(SPARSE),)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user