Don't block make clean if we need to reconfigure

This commit is contained in:
Alcaro 2016-07-15 15:42:26 +02:00
parent 979c6d003e
commit 6239635eba

View File

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