Rebuild of makefile 4: Teachable learnset helper

This commit is contained in:
Eduardo Quezada 2024-09-11 20:05:18 -03:00
parent 5f8c915826
commit 5790200e2d

View file

@ -407,6 +407,10 @@ $(OBJ_DIR)/sym_common.ld: sym_common.txt $(C_OBJS) $(wildcard common_syms/*.txt)
$(OBJ_DIR)/sym_ewram.ld: sym_ewram.txt
$(RAMSCRGEN) ewram_data $< ENGLISH > $@
# NOTE: Depending on event_scripts.o is hacky, but we want to depend on everything event_scripts.s depends on without having to alter scaninc
$(DATA_SRC_SUBDIR)/pokemon/teachable_learnsets.h: $(DATA_ASM_BUILDDIR)/event_scripts.o
python3 $(TOOLS_DIR)/learnset_helpers/teachable.py
# Linker script
ifeq ($(MODERN),0)
LD_SCRIPT := ld_script.ld