From b0d93dadc06cd9a9af2d224ef6d0ddd7a88a2d49 Mon Sep 17 00:00:00 2001 From: dimitrit Date: Mon, 1 Nov 2021 08:13:01 +0000 Subject: [PATCH 1/2] Include TastyBasic version details --- Source/TastyBasic/src/Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Source/TastyBasic/src/Makefile b/Source/TastyBasic/src/Makefile index dbe3fae8..515adaba 100644 --- a/Source/TastyBasic/src/Makefile +++ b/Source/TastyBasic/src/Makefile @@ -1,5 +1,6 @@ +# git@github.com:dimitrit/tastybasic.git; commit a86d7e7; (HEAD -> master, tag: v0.3.0) +VER := \"v0.3.0\" UNAME := $(shell uname) -# VER := $(shell git describe --tags --abbrev=0) APPDIR := $(wildcard ../../../Binary/Apps) BINDIR := ../../../Tools/$(UNAME) @@ -21,14 +22,14 @@ clobber: clean @rm -f $(CPMAPP) $(ROMIMAGE): $(ROMDEPS) - @uz80as -dROMWBW tastybasic.asm tastybasic.bin tastybasic.bin.lst + @uz80as -dROMWBW -d"VERSION $(VER)" tastybasic.asm tastybasic.bin tastybasic.bin.lst $(CPMIMAGE): $(CPMCMD) @mkfs.cpm -f wbw_fd144 tastybasic.img @cpmcp -f wbw_fd144 tastybasic.img tastybasic.com 0:tbasic.com $(CPMCMD): $(CPMDEPS) - @uz80as -dCPM tastybasic.asm tastybasic.com tastybasic.com.lst + @uz80as -dCPM -d"VERSION $(VER)" tastybasic.asm tastybasic.com tastybasic.com.lst $(APPDIR): $(CPMCMD) @cat $(CPMCMD) > $(CPMAPP) From f65e6b2ac58ac0f597ee89045cd2bcf1703e7785 Mon Sep 17 00:00:00 2001 From: dimitrit Date: Mon, 1 Nov 2021 09:06:07 +0000 Subject: [PATCH 2/2] Clean removes rom images --- Binary/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Binary/Makefile b/Binary/Makefile index cdca45ae..8f485e8a 100644 --- a/Binary/Makefile +++ b/Binary/Makefile @@ -4,5 +4,10 @@ SUBDIRS = Apps CPM3 ZPM3 include $(TOOLS)/Makefile.inc -clobber:: - @rm -f *.bin *.com *.img *.rom *.upd *.hex *.pdf *.log *.eeprom *.dat +clean:: + @rm -f *.bin *.com *.img *.rom + +clobber:: clean + @rm -f *.upd *.hex *.pdf *.log *.eeprom *.dat + +.PHONEY: clean clobber