CHEATERex/Makefile_dynos
$4Y$ 58ae0d7777 Upgrade to Time Trialsv2.2
featuring DynOsv0.4 by PeachyPeach
2020-10-12 00:47:19 -04:00

21 lines
731 B
Text

# ----------------------
# Dynamic Options System
# ----------------------
DYNOS_INPUT_DIR := ./dynos
DYNOS_OUTPUT_DIR := $(BUILD_DIR)/$(BASEDIR)
DYNOS_COPY_TO_RES := \
mkdir -p $(DYNOS_INPUT_DIR); \
mkdir -p $(DYNOS_OUTPUT_DIR); \
for f in $(DYNOS_INPUT_DIR)/*.txt; do \
[ -f "$$f" ] || continue; \
cp -f $$f $(DYNOS_OUTPUT_DIR)/$$(basename -- $$f); \
done;
DYNOS := $(shell $(call DYNOS_COPY_TO_RES))
ifeq ($(VERSION),eu)
$(BUILD_DIR)/src/pc/dynamic_options.o: $(BUILD_DIR)/include/text_strings.h $(BUILD_DIR)/bin/eu/translation_en.o $(BUILD_DIR)/bin/eu/translation_de.o $(BUILD_DIR)/bin/eu/translation_fr.o
else
$(BUILD_DIR)/src/pc/dynamic_options.o: $(BUILD_DIR)/include/text_strings.h
endif