1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00

Simplify default clean rules

This commit is contained in:
Jonas Fonseca 2006-01-14 08:57:42 +01:00 committed by Jonas Fonseca
parent af564bb101
commit 44dcf89071

View File

@ -133,11 +133,9 @@ init-default:
$(MKINSTALLDIRS) $(subdir) >/dev/null; \
echo 'include $(SRC)/$(RELPATH)/$(subdir)/Makefile' > $(subdir)/Makefile;)
clean-default: clean-test
clean-default cleanall-default:
@-test -z "$(CLEAN)" || $(RM) $(CLEAN)
cleanall-default: clean-default
check-default:
ifneq ($(SPARSE),)
@$(foreach file, $(wildcard *.c), \
@ -149,7 +147,6 @@ endif
# Auto-testing infrastructure
#
clean-test:
test-default:
ifdef TEST_PROGS
@ -173,6 +170,7 @@ clean-test:
@rm -fr trash
CLEAN += $(TEST_PROGS) $(addsuffix .o,$(TEST_PROGS))
clean-default: clean-test
endif
.PHONY: $(TESTS)