aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-09-25 16:46:02 -0700
committerH. Peter Anvin <hpa@zytor.com>2008-09-25 16:46:02 -0700
commited67201fcc004ccb0eb20e5489d71ed69cfb7428 (patch)
tree55cea829c53c57d14577f65f35302a3bb6d97837 /com32
parent5c12206bf5c223df3f555c6c2b4aed06cfe357a1 (diff)
downloadsyslinux-ed67201fcc004ccb0eb20e5489d71ed69cfb7428.tar.gz
syslinux-ed67201fcc004ccb0eb20e5489d71ed69cfb7428.tar.xz
syslinux-ed67201fcc004ccb0eb20e5489d71ed69cfb7428.zip
Fix "make clean" confusionsyslinux-3.72
"make clean" must NOT remove stuff that "make installer" should not rebuild. This is a somewhat unfortunate choice of naming, but that's the way it is. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32')
-rw-r--r--com32/gdbstub/Makefile5
-rw-r--r--com32/lib/Makefile6
-rw-r--r--com32/libutil/Makefile5
-rw-r--r--com32/menu/Makefile3
-rw-r--r--com32/modules/Makefile3
-rw-r--r--com32/samples/Makefile3
6 files changed, 15 insertions, 10 deletions
diff --git a/com32/gdbstub/Makefile b/com32/gdbstub/Makefile
index c5b79ead..2c9171e5 100644
--- a/com32/gdbstub/Makefile
+++ b/com32/gdbstub/Makefile
@@ -32,13 +32,14 @@ all: $(MODULES) $(TESTFILES)
gdbstub.elf : $(OBJS) $(LIBS) $(C_LIBS)
$(LD) $(LDFLAGS) -o $@ $^
-tidy dist:
+tidy dist clean:
rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
clean: tidy
- rm -f *.lss *.c32 *.lnx *.com
+ rm -f *.lnx
spotless: clean
+ rm -f *.lss *.c32 *.com
rm -f *~ \#*
install: all
diff --git a/com32/lib/Makefile b/com32/lib/Makefile
index dbca5b6d..02799040 100644
--- a/com32/lib/Makefile
+++ b/com32/lib/Makefile
@@ -108,15 +108,13 @@ libcom32.a : $(LIBOBJS)
$(AR) cq $@ $^
$(RANLIB) $@
-tidy dist:
+tidy dist clean:
rm -f sys/vesa/alphatbl.c
find . \( -name \*.o -o -name .\*.d -o -name \*.tmp \) -print0 | \
xargs -0r rm -f
-clean: tidy
- rm -f *.a
-
spotless: clean
+ rm -f *.a
rm -f *~ \#* */*~ */\#*
install: all
diff --git a/com32/libutil/Makefile b/com32/libutil/Makefile
index d7967cdb..31754a91 100644
--- a/com32/libutil/Makefile
+++ b/com32/libutil/Makefile
@@ -52,7 +52,10 @@ tidy dist:
rm -f *.o *.lo *.lst *.elf .*.d *.tmp
clean: tidy
- rm -f *.lss *.a *.c32 *.lnx *.com
+ rm -f *.lnx libutil_lnx.a
+
+spotless: clean
+ rm -f *.lss *.a *.c32 *.com
spotless: clean
rm -f *~ \#*
diff --git a/com32/menu/Makefile b/com32/menu/Makefile
index 44212c3b..d6293bbd 100644
--- a/com32/menu/Makefile
+++ b/com32/menu/Makefile
@@ -38,9 +38,10 @@ tidy dist:
rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
clean: tidy
- rm -f *.lss *.c32 *.lnx *.com
+ rm -f *.lnx
spotless: clean
+ rm -f *.lss *.c32 *.com
rm -f *~ \#*
install: all
diff --git a/com32/modules/Makefile b/com32/modules/Makefile
index eb3a9a1e..7a52ba9d 100644
--- a/com32/modules/Makefile
+++ b/com32/modules/Makefile
@@ -41,9 +41,10 @@ tidy dist:
rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
clean: tidy
- rm -f *.lss *.c32 *.lnx *.com
+ rm -f *.lnx
spotless: clean
+ rm -f *.lss *.c32 *.com
rm -f *~ \#*
install: all
diff --git a/com32/samples/Makefile b/com32/samples/Makefile
index 28260a35..abba4d6f 100644
--- a/com32/samples/Makefile
+++ b/com32/samples/Makefile
@@ -27,9 +27,10 @@ tidy dist:
rm -f *.o *.lo *.a *.lst *.elf .*.d *.tmp
clean: tidy
- rm -f *.lss *.c32 *.lnx *.com
+ rm -f *.lnx
spotless: clean
+ rm -f *.lss *.c32 *.com
rm -f *~ \#*
install: # Don't install samples