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 <[email protected]>
Suggested-by: Manuel Traut <[email protected]>
---
 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


------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to