summaryrefslogtreecommitdiffhomepage
path: root/source
diff options
context:
space:
mode:
authorIvan Zorin <[email protected]>2023-06-18 07:25:43 +0300
committerGitHub <[email protected]>2023-06-18 14:25:43 +1000
commit4c5e885363ca013292b9616e414077358c54520f (patch)
tree156f722edef3040f24367a0eeb4b0bf34f817f18 /source
parent313336b61f074bfe31dcdd10a4a088c731a5091a (diff)
downloadIronOS-4c5e885363ca013292b9616e414077358c54520f.tar.gz
IronOS-4c5e885363ca013292b9616e414077358c54520f.zip
source/Makefile: update for -C support (#1710)
Diffstat (limited to 'source')
-rw-r--r--source/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/Makefile b/source/Makefile
index 092b4e4c..6c104c88 100644
--- a/source/Makefile
+++ b/source/Makefile
@@ -655,14 +655,14 @@ Core/Gen/Translation.%.cpp $(OUTPUT_DIR)/Core/Gen/translation.files/%.pickle: ..
@test -d $(OUTPUT_DIR)/Core/Gen/translation.files || mkdir -p $(OUTPUT_DIR)/Core/Gen/translation.files
@echo 'Generating translations for language $*'
@$(HOST_PYTHON) ../Translations/make_translation.py \
- --macros $(PWD)/Core/Gen/macros.txt \
- -o $(PWD)/Core/Gen/Translation.$*.cpp \
+ --macros $(CURDIR)/Core/Gen/macros.txt \
+ -o $(CURDIR)/Core/Gen/Translation.$*.cpp \
--output-pickled $(OUTPUT_DIR)/Core/Gen/translation.files/$*.pickle \
$*
Core/Gen/macros.txt: Makefile
- @test -d Core/Gen || mkdir -p Core/Gen
- echo "#include <configuration.h>" | $(CC) -dM -E $(CFLAGS) -MF Core/Gen/macros.tmp - > $(PWD)/Core/Gen/macros.txt
+ @test -d $(CURDIR)/Core/Gen || mkdir -p $(CURDIR)/Core/Gen
+ echo "#include <configuration.h>" | $(CC) -dM -E $(CFLAGS) -MF $(CURDIR)/Core/Gen/macros.tmp - > $(CURDIR)/Core/Gen/macros.txt
#