]> git.sur5r.net Git - c128-kasse/blobdiff - Makefile
Generate label files for VICE’s monitor
[c128-kasse] / Makefile
index 0b56ad0ecfc3c7bbc74e67ceadf0d60ca97ff861..3d2eaa870d696464c41ae4b6b70d3c4b9f733568 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ AS=ca65
 LD=cl65
 INCLUDES:=$(wildcard include/*.h) include/version.h
 GV:=$(shell git describe --tags --always)
-CFLAGS= -I include -t c128
+CFLAGS= -I include -t c128 -g
 
 .PHONY: include/version.h clean dist-clean format
 
@@ -18,13 +18,13 @@ include/version.h:
        echo "#define GV \"${GV}\"" > $@
 
 kasse: build/config.o build/kasse.o build/general.o build/credit_manager.o build/c128time.o build/print.o
-       ${LD} -t c128 $^ -o $@
+       ${LD} -Ln $@.lbl -t c128 $^ -o $@
 
 itemz: build/config.o build/itemz.o build/general.o build/credit_manager.o build/c128time.o build/print.o
-       ${LD} -t c128 $^ -o $@
+       ${LD} -Ln $@.lbl -t c128 $^ -o $@
 
 cat: build/general.o build/cat.o
-       ${LD} -t c128 $^ -o $@
+       ${LD} -Ln $@.lbl -t c128 $^ -o $@
 
 package: all
        c1541 -format "${GV}",KA d64 kasse.d64