From bfa48c2fe8ca6c478130577035fe5c08e1bca99b Mon Sep 17 00:00:00 2001 From: Jakob Haufe Date: Mon, 30 Oct 2017 09:59:33 +0100 Subject: [PATCH] Update/Reorder Makefile --- Makefile | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index eac00d8..e008797 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,8 @@ LD=cl65 CFLAGS= -t c128 -all: image crctest +all: diskbench.d71 crctest relfile.d71 -image: diskbench.d71 diskbench.d71: diskbench c1541 -format "diskbench",db d71 diskbench.d71 @@ -30,5 +29,17 @@ crctest.s: crctest.c crctest: crctest.o crc16.o bcd2dec.o ${LD} -Ln crctest.lbl -t c128 $^ -o $@ +relfile.s: relfile.c + +relfile: relfile.o + ${LD} -t c128 $^ -o $@ + +relfile.d71: relfile + c1541 -format "relfile",rf d71 relfile.d71 + c1541 -attach relfile.d71 -write relfile + clean: - rm -f *.o crctest diskbench diskbench.d71 data *.lbl crctest.s diskbench.s + rm -f bcd2dec.o crc16.o + rm -f diskbench.d71 diskbench diskbench.o diskbench.s data + rm -f crctest crctest.o crctest.s crctest.lbl + rm -f relfile.d71 relfile relfile.o relfile.s -- 2.39.5