Fix inconsistent rebuilding

This commit is contained in:
Mateon1 2024-11-10 19:04:13 +01:00
parent 484e6b126d
commit ad9688cebf
No known key found for this signature in database
GPG Key ID: 6A6067123E4CAF6E

View File

@ -29,7 +29,7 @@ $(LEARNSET_DATA): $(LEARNSET_DIR)/learnset_data.json
$(DUNGEONJSON) learnset pmd-red $<
data_learnset_ptrs: ${LEARNSET_DATA};
echo '.4byte 0' >> $(LEARNSET_PTRS)
echo '.4byte 0' > $(LEARNSET_PTRS)
echo '.4byte 0' >> $(LEARNSET_PTRS)
cat $(LEARNSET_DATA) | grep .global >> $(LEARNSET_PTRS)
ifeq ($(shell uname -s), Darwin)