chiark / gitweb /
clean targets: Delete $(TARGETS) too!
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 19 Nov 2016 18:15:39 +0000 (18:15 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 11 Jun 2020 15:13:02 +0000 (16:13 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
settings.make.in

index 26dd7ae325dae8ae6b05c50b6cb3690ae8959c0e..64c406e15d842cc9382c04e404dff05fcee56647 100644 (file)
@@ -26,12 +26,13 @@ include             ../common.make
 all:                   $(TARGETS)
 
 clean mostlyclean:
+               rm -f $(TARGETS)
                rm -f *.o *.tmp* *.so *.so.* pipe.*
                rm -f output-*.err output-*.leftover
                rm -f output-*.out output-*.report
 
 distclean:             clean
-               rm -f $(TARGETS) *~ ./#*# core *.orig *.rej Makefile config.h
+               rm -f *~ ./#*# core *.orig *.rej Makefile config.h
 
 distprep:              $(AUTOCSRCS) $(AUTOCHDRS)