summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhpa <hpa>2003-11-26 00:52:40 +0000
committerhpa <hpa>2003-11-26 00:52:40 +0000
commit425c329696d6c1c1a891c97d1bd095b4ea498ceb (patch)
tree339e3680c7466a1074dcc9e5954307d9d15505e6
parentce0965d4926a45ea0fda5f5afdb79f8504b133bc (diff)
downloadsyslinux-425c329696d6c1c1a891c97d1bd095b4ea498ceb.tar.gz
Add a "make tidy" target for the sample directory
-rw-r--r--Makefile1
-rw-r--r--sample/Makefile8
2 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2e91682c..95a7b8be 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 373828c3..0bd4512f 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