diff --git a/targettest/Makefile b/targettest/Makefile index 6aabe06a3..1340fb5eb 100644 --- a/targettest/Makefile +++ b/targettest/Makefile @@ -162,7 +162,7 @@ endif .o: ifeq ($(SYS),vic20) - $(LD) $(LDFLAGS_$(@F)_$(SYS)) $(LDFLAGS) -o $@ -C vic20-32k.cfg -m $@.map $^ $(SYS).lib + $(LD) $(LDFLAGS_$(@F)_$(SYS)) $(LDFLAGS) -o $@ -t $(SYS) -C vic20-32k.cfg -m $@.map $^ $(SYS).lib else $(LD) $(LDFLAGS_$(@F)_$(SYS)) $(LDFLAGS) -o $@ -t $(SYS) -m $@.map $^ $(SYS).lib endif diff --git a/targettest/cbm/Makefile b/targettest/cbm/Makefile index cbff73273..a7646c2d9 100644 --- a/targettest/cbm/Makefile +++ b/targettest/cbm/Makefile @@ -41,7 +41,7 @@ endif cbmdir-test.prg: cbmdir-test.c ifeq ($(SYS),vic20) - $(CL) -C vic20-32k.cfg -Oris -o $@ $< + $(CL) -t $(SYS) -C vic20-32k.cfg -Oris -o $@ $< else $(CL) -t $(SYS) -Oris -o $@ $< endif