cleanup old mod dir every compile

This commit is contained in:
MysterD 2022-04-16 15:54:20 -07:00
parent 42f2a8d289
commit a31ddaff9d
1 changed files with 3 additions and 0 deletions

View File

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