1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-18 07:29:36 +00:00

move test to todo again, and patch the Makefile - it works in *one* particular config (only)

This commit is contained in:
mrdudz 2023-08-26 22:34:25 +02:00
parent 260fd7f004
commit fa347d416a
2 changed files with 8 additions and 0 deletions

View File

@ -57,6 +57,14 @@ $(WORKDIR)/%.$1.$2.prg: %.c | $(WORKDIR)
endef # PRG_template
# HACK! for some reason the test does NOT fail in this particular config
$(WORKDIR)/inline-asm-1489.Osr.65c02.prg: inline-asm-1489.c | $(WORKDIR)
$(if $(QUIET),echo todo/inline-asm-1489.Osr.65c02.prg)
$(CC65) -t sim65c02 $$(CC65FLAGS) --add-source -Osr -o $(@:.prg=.s) $< $(NULLERR)
$(CA65) -t sim65c02 -o $(@:.prg=.o) $(@:.prg=.s) $(NULLERR)
$(LD65) -t sim65c02 -o $@ $(@:.prg=.o) sim65c02.lib $(NULLERR)
$(SIM65) $(SIM65FLAGS) $@ $(NULLOUT)
$(foreach option,$(OPTIONS),$(eval $(call PRG_template,$(option),6502)))
$(foreach option,$(OPTIONS),$(eval $(call PRG_template,$(option),65c02)))