1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-21 00:25:37 +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:
Jonas Fonseca 2006-07-10 14:27:40 +02:00 committed by Jonas Fonseca
parent 00fc1c394c
commit 4f2dd4f842

View File

@ -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),)