Richard Cochran
2016-12-06 18:51:23 UTC
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 <***@gmail.com>
Suggested-by: Manuel Traut <***@linutronix.de>
---
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.
executable binaries in the 'clean' target. This behavior is more in
line with the GNU makefile guidelines.
Signed-off-by: Richard Cochran <***@gmail.com>
Suggested-by: Manuel Traut <***@linutronix.de>
---
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.
--
2.1.4
2.1.4