Make sure to call res2c.py with python3

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2021-10-18 04:46:48 +01:00
parent 28f2c26872
commit 3547672216
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0

View file

@ -257,7 +257,7 @@ $(TARGET): $(PLUGIN_OBJS)
$(BUILD_DIR)/%.bin.o: % res2c.py
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"
@echo "Generating and Compiling $<"
$(shell ./res2c.py $< | $(CC) -x c - $(BUILD_C_FLAGS) -c -o $@)
$(shell python3 ./res2c.py $< | $(CC) -x c - $(BUILD_C_FLAGS) -c -o $@)
$(BUILD_DIR)/plugins.cpp.o: plugins.cpp
-@mkdir -p "$(shell dirname $(BUILD_DIR)/$<)"