Correctly force refreshing the build date

Fixes #6
This commit is contained in:
ISSOtm
2025-05-05 17:11:18 -04:00
parent 1d49826117
commit a2e82037df
2 changed files with 1 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ assets/%.pb16: src/tools/pb16.py assets/%
# Notice that the build date is always refreshed. # Notice that the build date is always refreshed.
bin/%.${ROMEXT}: $(patsubst src/%.asm,obj/%.o,${SRCS}) bin/%.${ROMEXT}: $(patsubst src/%.asm,obj/%.o,${SRCS})
@${MKDIR_P} "${@D}" @${MKDIR_P} "${@D}"
${RGBASM} ${ASFLAGS} -o obj/build_date.o src/assets/build_date.asm ${RGBASM} ${ASFLAGS} -o obj/lib/build_date.o src/lib/build_date.asm
${RGBLINK} ${LDFLAGS} -m bin/$*.map -n bin/$*.sym -o $@ $^ \ ${RGBLINK} ${LDFLAGS} -m bin/$*.map -n bin/$*.sym -o $@ $^ \
&& ${RGBFIX} -v ${FIXFLAGS} $@ && ${RGBFIX} -v ${FIXFLAGS} $@