Make the MEMDISK directory use the same clean conventions as the
authorhpa <hpa>
Wed, 17 Apr 2002 22:44:57 +0000 (22:44 +0000)
committerhpa <hpa>
Wed, 17 Apr 2002 22:44:57 +0000 (22:44 +0000)
main directory.

Makefile
memdisk/Makefile

index 645bd39..a0c4954 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -161,6 +161,8 @@ dist: tidy
 
 spotless: clean dist
        rm -f $(BTARGET)
+       $(MAKE) -C sample spotless
+       $(MAKE) -C memdisk spotless
 
 #
 # Hook to add private Makefile targets for the maintainer.
index f8cc581..deb95bd 100644 (file)
@@ -29,12 +29,14 @@ OBJS    = init.o16 setup.o16 msetup.o16 e820func.o16 conio.o16 memdisk.o
 
 all: memdisk e820test
 
-# tidy removes everything except the final binary
+# tidy, clean removes everything except the final binary
 tidy:
        rm -f *.o *.s *.o16 *.s16 *.bin *.lst *.elf e820test
 
-# clean also removes the product binary
 clean: tidy
+
+# spotless also removes the product binary
+spotless: clean
        rm -f memdisk
 
 %.o16: %.s16