mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05: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
|
||||
quiet =
|
||||
mquiet = masq_
|
||||
Q =
|
||||
else
|
||||
quiet = quiet_
|
||||
mquiet = quiet_
|
||||
Q = @
|
||||
endif
|
||||
|
||||
# Show the command (quiet or non-quiet version based on the assignment
|
||||
@ -121,7 +123,7 @@ endif
|
||||
rm .deps/$(*F).pp; \
|
||||
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;)
|
||||
|
||||
clean-default cleanall-default:
|
||||
@-test -z "$(CLEAN)" || $(RM) $(CLEAN)
|
||||
$(Q)-test -z "$(CLEAN)" || $(RM) $(CLEAN)
|
||||
|
||||
check-default:
|
||||
ifneq ($(SPARSE),)
|
||||
|
Loading…
Reference in New Issue
Block a user