Commit 01b48b7c authored by Daniel Verkamp's avatar Daniel Verkamp
Browse files

build: define a common Makefile clean command



Use $(CLEAN_C) throughout the Makefiles to clean up a consistent set of
generated files.

This also adds coverage files to the list of cleaned files.

Change-Id: Iceb922935a45c9eecbf2f3443bd0ee4f5c966825
Signed-off-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
parent af2a731d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,6 +52,6 @@ $(APP) : $(OBJS) $(SPDK_LIBS)
	$(LINK_C)

clean :
	$(Q)rm -f $(OBJS) *.d $(APP)
	$(CLEAN_C) $(APP)

include $(SPDK_ROOT_DIR)/mk/spdk.deps.mk
+1 −1
Original line number Diff line number Diff line
@@ -57,6 +57,6 @@ $(APP) : $(OBJS) $(SPDK_LIBS)
	$(LINK_C)

clean :
	$(Q)rm -f $(OBJS) *.d $(APP)
	$(CLEAN_C) $(APP)

include $(SPDK_ROOT_DIR)/mk/spdk.deps.mk
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ LIB = libspdk_memory.a
all : $(LIB)

clean :
	$(Q)rm -f $(LIB) $(OBJS) *.d
	$(CLEAN_C)

$(LIB) : $(OBJS)
	$(LIB_C)
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ LIB = libspdk_nvme.a
all : $(LIB)

clean :
	$(Q)rm -f $(LIB) $(OBJS) *.d
	$(CLEAN_C)

$(LIB) : $(OBJS)
	$(LIB_C)
+1 −1
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ LIB = libspdk_util.a
all : $(LIB)

clean :
	$(Q)rm -f $(LIB) $(OBJS) *.d
	$(CLEAN_C)

$(LIB) : $(OBJS)
	$(LIB_C)
Loading