diff --git a/Makefile b/Makefile index 8f0e0ce5..d765bf0f 100644 --- a/Makefile +++ b/Makefile @@ -599,6 +599,9 @@ endif MOD_DIR := mods +# Remove old mod dir +_ := $(shell rm -rf ./$(BUILD_DIR)/$(MOD_DIR)) + # Automatic dependency files DEP_FILES := $(O_FILES:.o=.d) $(ULTRA_O_FILES:.o=.d) $(GODDARD_O_FILES:.o=.d) $(BUILD_DIR)/$(LD_SCRIPT).d