mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
Make VICE monitor command lists for Commodore platforms.
This commit is contained in:
parent
ba93ab07bc
commit
58dd28f053
@ -122,6 +122,44 @@ DISK_atarixl = testcode.atr
|
||||
|
||||
.PRECIOUS: %.o
|
||||
|
||||
LDFLAGS=
|
||||
ifeq ($(SYS),c64)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),c128)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),c16)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),cbm510)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),cbm510)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),cx16)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),geos-cbm)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),lunix)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),pet)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),pet-overlay)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),plus4)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
ifeq ($(SYS),vic20)
|
||||
LDFLAGS+=-Ln $@.lst
|
||||
endif
|
||||
|
||||
.o:
|
||||
ifeq ($(SYS),vic20)
|
||||
$(LD) $(LDFLAGS_$(@F)_$(SYS)) $(LDFLAGS) -o $@ -C vic20-32k.cfg -m $@.map $^ $(SYS).lib
|
||||
@ -386,7 +424,7 @@ testcode.atr: testcode
|
||||
# Clean-up rules
|
||||
|
||||
mostlyclean:
|
||||
@$(DEL) *.lbl *.map *.o 2>$(NULLDEV)
|
||||
@$(DEL) *.lbl *.map *.lst *.o 2>$(NULLDEV)
|
||||
# we cant use .s since we have asm files in the directory that we want to keep
|
||||
@$(DEL) ${patsubst %.c,%.s,$(wildcard *.c)} 2>$(NULLDEV)
|
||||
|
||||
|
@ -43,4 +43,4 @@ cbmdir-test.prg: cbmdir-test.c
|
||||
$(CL) -t $(SYS) -Oris -o $@ $<
|
||||
|
||||
clean:
|
||||
@$(DEL) petscii.prg cbmdir-test.prg 2>$(NULLDEV)
|
||||
@$(DEL) *.lst petscii.prg cbmdir-test.prg 2>$(NULLDEV)
|
||||
|
Loading…
Reference in New Issue
Block a user