1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00

Made the c128, not the c64, target build the c128 version of "c64-c128-scpu-test.c".

Its placement in the wrong list caused a parallel race condition that sometimes led to failed test builds.
This commit is contained in:
Greg King 2022-02-21 16:07:22 -05:00
parent a49bf13b25
commit 39df6f8f66

View File

@ -1,3 +1,7 @@
# Run 'make SYS=<target>'; or, set a SYS env.
# var. to build for another target system.
SYS ?= c64
# Just the usual way to find out if we're
# using cmd.exe to execute make rules.
ifneq ($(shell echo),)
@ -28,14 +32,14 @@ endif
EXELIST_c64 = \
c64-scpu-test.prg \
c128-scpu-test.prg \
c64dtv-test.prg \
c64-c128-test.prg \
c64-test.prg \
chameleon-test.prg \
c65-test.prg \
turbomaster-test.prg
EXELIST_c128 = \
c128-scpu-test.prg \
c128-test.prg
ifneq ($(EXELIST_$(SYS)),)
@ -62,8 +66,8 @@ c128-scpu-test.prg: c64-c128-scpu-test.c
c64dtv-test.prg: c64dtv-test.c
$(CL) -t c64 c64dtv-test.c -o c64dtv-test.prg
c64-c128-test.prg: c64-c128-test.c
$(CL) -t c64 c64-c128-test.c -o c64-c128-test.prg
c64-test.prg: c64-c128-test.c
$(CL) -t c64 c64-c128-test.c -o c64-test.prg
c128-test.prg: c64-c128-test.c
$(CL) -t c128 c64-c128-test.c -o c128-test.prg