From 6239635eba5e63b82a667c7b03d5a6f42eec8ccf Mon Sep 17 00:00:00 2001 From: Alcaro Date: Fri, 15 Jul 2016 15:42:26 +0200 Subject: [PATCH] Don't block make clean if we need to reconfigure --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 04e8ffd873..7970c6b7cf 100644 --- a/Makefile +++ b/Makefile @@ -120,10 +120,14 @@ endif all: $(TARGET) config.mk +ifeq ($(MAKECMDGOALS),clean) +config.mk: +else -include $(RARCH_OBJ:.o=.d) config.mk: configure qb/* @echo "config.mk is outdated or non-existing. Run ./configure again." @exit 1 +endif retroarch: $(RARCH_OBJ) @$(if $(Q), $(shell echo echo LD $@),)