From 425c329696d6c1c1a891c97d1bd095b4ea498ceb Mon Sep 17 00:00:00 2001 From: hpa Date: Wed, 26 Nov 2003 00:52:40 +0000 Subject: [PATCH] Add a "make tidy" target for the sample directory --- Makefile | 1 + sample/Makefile | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2e91682..95a7b8b 100644 --- a/Makefile +++ b/Makefile @@ -200,6 +200,7 @@ local-tidy: tidy: local-tidy $(MAKE) -C memdisk tidy $(MAKE) -C win32 tidy + $(MAKE) -C sample tidy local-clean: rm -f $(ITARGET) diff --git a/sample/Makefile b/sample/Makefile index 373828c..0bd4512 100644 --- a/sample/Makefile +++ b/sample/Makefile @@ -58,7 +58,11 @@ syslogo.lss: syslogo.png $(PPMTOLSS16) $(PPMTOLSS16) \#000000=0 \#d0d0d0=7 \#f6f6f6=15 \ > syslogo.lss -clean: - rm -f *.lss *.o *.elf *.c32 +tidy: + rm -f *.o *.a *.lst + +# Don't specify *.com since mdiskchk.com can't be built using Linux tools +clean: tidy + rm -f *.lss *.o *.elf *.c32 comecho.com spotless: clean -- 2.7.4