Use -t option alongside -C.

This commit is contained in:
Sven Michael Klose 2021-12-25 20:09:18 +01:00 committed by mrdudz
parent 582c2f65e3
commit a5ca1928f5
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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