mirror of
https://github.com/s4Ys369/CHEATERex.git
synced 2025-01-22 07:32:10 -05:00
58ae0d7777
featuring DynOsv0.4 by PeachyPeach
21 lines
731 B
Text
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
|