Make make clean work again (#6848)

Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
hedara90 2025-05-15 10:40:35 +02:00 committed by GitHub
parent 444e77b7f6
commit 9924ae3391
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -350,9 +350,6 @@ clean-generated:
COMPETITIVE_PARTY_SYNTAX := $(shell PATH="$(PATH)"; echo 'COMPETITIVE_PARTY_SYNTAX' | $(CPP) $(CPPFLAGS) -imacros include/gba/defines.h -imacros include/config/general.h | tail -n1)
ifeq ($(COMPETITIVE_PARTY_SYNTAX),1)
%.h: %.party ; $(CPP) $(CPPFLAGS) -traditional-cpp - < $< | $(TRAINERPROC) -o $@ -i $< -
AUTO_GEN_TARGETS += $(DATA_SRC_SUBDIR)/trainers.h
AUTO_GEN_TARGETS += $(DATA_SRC_SUBDIR)/battle_partners.h
endif
$(C_BUILDDIR)/librfu_intr.o: CFLAGS := -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast