summaryrefslogtreecommitdiff
path: root/Makefile.lang.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.lang.in')
-rw-r--r--Makefile.lang.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.lang.in b/Makefile.lang.in
index 1ba5c9048..11b12ddd2 100644
--- a/Makefile.lang.in
+++ b/Makefile.lang.in
@@ -44,13 +44,17 @@ string.o: $(SRC_DIR)/string.cpp endian_host.h
$(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
$(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $<
+alloc_func.o: $(SRC_DIR)/core/alloc_func.cpp endian_host.h
+ $(E) '$(STAGE) Compiling $(<:$(SRC_DIR)/%.cpp=%.cpp)'
+ $(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -DSTRGEN -c -o $@ $<
+
lang/english.txt: $(LANG_DIR)/english.txt
$(Q)mkdir -p lang
$(Q)cp $(LANG_DIR)/english.txt lang/english.txt
-$(STRGEN): string.o strgen.o
+$(STRGEN): alloc_func.o string.o strgen.o
$(E) '$(STAGE) Compiling and Linking $@'
- $(Q)$(CXX_BUILD) string.o strgen.o -o $@
+ $(Q)$(CXX_BUILD) $^ -o $@
table/strings.h: lang/english.txt $(STRGEN)
$(E) '$(STAGE) Generating $@'