From ea226c9fa7ba6f02d4a175267c5acd07d0617e7f Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Thu, 8 Oct 2020 17:17:22 +0300 Subject: [PATCH 1/2] typo: scrips Signed-off-by: Tzafrir Cohen --- ibsim/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ibsim/Makefile b/ibsim/Makefile index 73f92e9..1b5afab 100644 --- a/ibsim/Makefile +++ b/ibsim/Makefile @@ -1,6 +1,6 @@ bins:=ibsim scripts:=ibsim-run -progs:=$(bins) $(scrips) +progs:=$(bins) $(scripts) -include ../defs.mk From 68eb24529bf14b9aabbf3146b47f699578d4ee07 Mon Sep 17 00:00:00 2001 From: Tzafrir Cohen Date: Thu, 8 Oct 2020 17:22:08 +0300 Subject: [PATCH 2/2] clean all bins, not just progs (including tests) Signed-off-by: Tzafrir Cohen --- defs.mk | 2 +- ibsim/Makefile | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/defs.mk b/defs.mk index 0a9f13f..c55334d 100644 --- a/defs.mk +++ b/defs.mk @@ -50,7 +50,7 @@ dep: -include .depend clean: - $(RM) $(objs) $(libs) $(progs) + $(RM) $(objs) $(libs) $(bins) $(extra_clean) $(RM) .build_profile $(RM) *.o *.a *.so *~ diff --git a/ibsim/Makefile b/ibsim/Makefile index 1b5afab..7ab7939 100644 --- a/ibsim/Makefile +++ b/ibsim/Makefile @@ -1,6 +1,7 @@ bins:=ibsim scripts:=ibsim-run progs:=$(bins) $(scripts) +extra_clean:=ibsim-run -include ../defs.mk