From 356eb81d4de85bc53f09161bd4a611974a271d5c Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Tue, 6 Dec 2016 19:48:39 +0100 Subject: [PATCH] makefile: Make the 'clean' target conform to standard practice. This patch makes the build system less surprising by removing the executable binaries in the 'clean' target. This behavior is more in line with the GNU makefile guidelines. Signed-off-by: Richard Cochran Suggested-by: Manuel Traut --- makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/makefile b/makefile index 44be067..f898336 100644 --- a/makefile +++ b/makefile @@ -74,10 +74,9 @@ install: $(PRG) install -p -m 644 -t $(DESTDIR)$(man8dir) $(PRG:%=%.8) clean: - rm -f $(OBJECTS) $(DEPEND) + rm -f $(OBJECTS) $(DEPEND) $(PRG) distclean: clean - rm -f $(PRG) rm -f .version # Implicit rule to generate a C source file's dependencies.