From 1f1e1f1490c167e02c53e79e35d060608386fd50 Mon Sep 17 00:00:00 2001 From: mrdudz Date: Thu, 26 Jun 2025 23:53:36 +0200 Subject: [PATCH] output target before name(s) --- targettest/Makefile | 7 +++++-- targettest/accelerator/Makefile | 16 ++++++++-------- targettest/atari/Makefile | 18 +++++++++--------- targettest/cbm/Makefile | 6 +++--- targettest/gamate/Makefile | 6 +++--- targettest/pce/Makefile | 2 +- 6 files changed, 29 insertions(+), 26 deletions(-) diff --git a/targettest/Makefile b/targettest/Makefile index 329992d18..ebdecfba6 100644 --- a/targettest/Makefile +++ b/targettest/Makefile @@ -130,12 +130,12 @@ DISK_atarixl = testcode.atr %: %.s .c.o: - $(if $(QUIET),echo targettest/$*.c) + $(if $(QUIET),echo $(SYS):$*.c) $(CC) $(CFLAGS) -Ors --codesize 500 -T -g -t $(SYS) $< $(AS) $(<:.c=.s) .s.o: - $(if $(QUIET),echo targettest/$*.s) + $(if $(QUIET),echo $(SYS):$*.s) $(AS) $(ASFLAGS) -t $(SYS) $< .PRECIOUS: %.o @@ -813,10 +813,12 @@ platforms: # some programs link against getsp.o mouse-test: mouse-test.o getsp.o + $(if $(QUIET),echo $(SYS):$@) $(LD) $(LDFLAGS) -t $(SYS) -o $@ $^ $(SYS).lib ifneq ($(SYS),vic20) ft: ft.o getsp.o + $(if $(QUIET),echo $(SYS):$@) $(LD) $(LDFLAGS) -t $(SYS) -o $@ $^ $(SYS).lib endif @@ -824,6 +826,7 @@ endif ifeq ($(SYS),vic20) ft: ft.o getsp.o + $(if $(QUIET),echo $(SYS):$@) $(LD) $(LDFLAGS) -o $@ -C vic20-32k.cfg -m $@.map $^ $(SYS).lib endif diff --git a/targettest/accelerator/Makefile b/targettest/accelerator/Makefile index 0a6a9bb02..a8d26e368 100644 --- a/targettest/accelerator/Makefile +++ b/targettest/accelerator/Makefile @@ -72,35 +72,35 @@ else endif c64-scpu-test.prg: c64-c128-scpu-test.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t c64 c64-c128-scpu-test.c -o c64-scpu-test.prg c128-scpu-test.prg: c64-c128-scpu-test.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t c128 c64-c128-scpu-test.c -o c128-scpu-test.prg c64dtv-test.prg: c64dtv-test.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t c64 c64dtv-test.c -o c64dtv-test.prg c64-test.prg: c64-c128-test.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t c64 c64-c128-test.c -o c64-test.prg c128-test.prg: c64-c128-test.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t c128 c64-c128-test.c -o c128-test.prg chameleon-test.prg: chameleon-test.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t c64 chameleon-test.c -o chameleon-test.prg c65-test.prg: c65-test.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t c64 c65-test.c -o c65-test.prg turbomaster-test.prg: turbomaster-test.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t c64 turbomaster-test.c -o turbomaster-test.prg clean: diff --git a/targettest/atari/Makefile b/targettest/atari/Makefile index ef8d1883c..099dd291c 100644 --- a/targettest/atari/Makefile +++ b/targettest/atari/Makefile @@ -72,33 +72,33 @@ else endif charmapping.xex: charmapping.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t atari -o charmapping.xex charmapping.c defdev.xex: defdev.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t atari -o defdev.xex defdev.c displaylist.xex: displaylist.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t atari -o displaylist.xex displaylist.c mem.xex: mem.c ../getsp.s - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t atari -o mem.xex mem.c ../getsp.s multi.xex: multi-xex.s multi-xex.cfg - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t atari -C multi-xex.cfg multi-xex.s -o multi.xex ostype.xex: ostype.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t atari -o ostype.xex ostype.c scrcode.com: scrcode.s - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) # ca65 -t atari -o scrcode.o scrcode.s # ld65 -C atari-asm.cfg -o scrcode.com scrcode.o $(CL) -t atari -C atari-asm.cfg -o scrcode.com scrcode.s sys.xex: sys.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t atari -o sys.xex sys.c sound.xex: sound.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t atari -o sound.xex sound.c clean: @$(DEL) charmapping.xex 2>$(NULLDEV) diff --git a/targettest/cbm/Makefile b/targettest/cbm/Makefile index 96acf49a0..6359a154a 100644 --- a/targettest/cbm/Makefile +++ b/targettest/cbm/Makefile @@ -81,14 +81,14 @@ endif ifeq ($(SYS),c64) petscii.prg: petscii.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t $(SYS) -O -o petscii.prg petscii.c else petscii.prg: endif cbmdir-test.prg: cbmdir-test.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) ifeq ($(SYS),vic20) $(CL) -t $(SYS) -C vic20-32k.cfg -Oris -o $@ $< else @@ -96,7 +96,7 @@ else endif cbmread.prg: cbmread.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) ifeq ($(SYS),vic20) $(CL) -t $(SYS) -C vic20-32k.cfg -Oris -o $@ $< else diff --git a/targettest/gamate/Makefile b/targettest/gamate/Makefile index 3e3d1f9d8..21fd039ec 100644 --- a/targettest/gamate/Makefile +++ b/targettest/gamate/Makefile @@ -64,13 +64,13 @@ else endif audiotest.bin: audiotest.s - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -l audiotest.lst -t gamate -o audiotest.bin audiotest.s lcdtest.bin: lcdtest.s - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -l lcdtest.lst -t gamate -o lcdtest.bin lcdtest.s ctest.bin: ctest.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -l ctest.lst -t gamate -o ctest.bin ctest.c clean: diff --git a/targettest/pce/Makefile b/targettest/pce/Makefile index 2a0be84d5..53516d55d 100644 --- a/targettest/pce/Makefile +++ b/targettest/pce/Makefile @@ -79,7 +79,7 @@ else endif %.bin: %.c - $(if $(QUIET),echo $@) + $(if $(QUIET),echo $(SYS):$@) $(CL) -t pce $< -Wl -D__CARTSIZE__=${CARTSIZE} -m $*.map -o $@ ifndef QUIET @echo "use 'make conio.pce' to produce a .pce file using dd"