From f9126620c820e392ff64ecc984cbfc14431fa94a Mon Sep 17 00:00:00 2001 From: curt mayer Date: Wed, 29 Jan 2020 23:21:10 -0800 Subject: [PATCH] more build and clean fixes --- Source/Apps/Tune/Tune.asm | 2 +- Source/Apps/Tune/Tunes/Makefile | 9 +++++++++ Tools/Makefile.inc | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 Source/Apps/Tune/Tunes/Makefile diff --git a/Source/Apps/Tune/Tune.asm b/Source/Apps/Tune/Tune.asm index 54429c23..54911263 100644 --- a/Source/Apps/Tune/Tune.asm +++ b/Source/Apps/Tune/Tune.asm @@ -2336,7 +2336,7 @@ T_PACK .DB $06EC*2/256,$06EC*2 ; ; MYMPLAY - Player for MYM-tunes ; MSX-version by Marq/Lieves!Tuore & Fit 30.1.2000 -: +; ; 1.2.2000 - Added the disk loader. Thanks to Yzi & Plaque for examples. ; 7.2.2000 - Removed one unpack window -> freed 1.7kB memory ; diff --git a/Source/Apps/Tune/Tunes/Makefile b/Source/Apps/Tune/Tunes/Makefile new file mode 100644 index 00000000..8c5f4697 --- /dev/null +++ b/Source/Apps/Tune/Tunes/Makefile @@ -0,0 +1,9 @@ +OBJECTS = *.pt3 *.mym +NODELETE = $(OBJECTS) +DEST = ../../../../Binary/Apps/Tunes +TOOLS = ../../../../Tools + +include $(TOOLS)/Makefile.inc + +clobber:: + -rm -f $(DEST)/*.pt3 $(DEST)/*.mym diff --git a/Tools/Makefile.inc b/Tools/Makefile.inc index 0bd1a77e..a5fd3412 100644 --- a/Tools/Makefile.inc +++ b/Tools/Makefile.inc @@ -122,7 +122,7 @@ install:: all ( echo "install in `pwd`/$$dir" ; cd "$$dir" ; make clobber ) ; \ done -clobber: clean +clobber:: clean -rm -f $$($(CASEFN) $(filter-out $(NODELETE),$(OBJECTS))) @for dir in $(SUBDIRS) ; do \ ( echo "clobbering in `pwd`/$$dir" ; cd "$$dir" ; make clobber ) ; \