build the res target by default when EXTERNAL_TEXTURES is enabled

This commit is contained in:
fgsfds 2020-05-26 02:18:09 +03:00
parent 8e0e7730d3
commit 9e3f6e33e9
1 changed files with 3 additions and 0 deletions

View File

@ -617,6 +617,9 @@ SHA1SUM = sha1sum
all: $(EXE) all: $(EXE)
ifeq ($(EXTERNAL_TEXTURES),1) ifeq ($(EXTERNAL_TEXTURES),1)
# depend on resources as well
all: res
# prepares the resource folder for external data # prepares the resource folder for external data
res: $(EXE) res: $(EXE)
@mkdir -p $(BUILD_DIR)/res @mkdir -p $(BUILD_DIR)/res