[ofa-general] Re: [PATCH-v2] perftest: Fix deleting the utils files in "make clean"

Michael S. Tsirkin mst at dev.mellanox.co.il
Sun Jul 29 04:17:34 PDT 2007


thanks, applied

Quoting Dotan Barak <dotanb at dev.mellanox.co.il>:
Subject: [PATCH-v2] perftest: Fix deleting the utils files in "make clean"

Fix deleting the utils files in "make clean".

Signed-off-by: Dotan Barak <dotanb at dev.mellanox.co.il>

---

diff --git a/Makefile b/Makefile
index 812de14..8042531 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,6 @@ ${TESTS}: LOADLIBES += -libverbs -lrdmacm
 ${TESTS} ${UTILS}: %: %.c ${EXTRA_FILES} ${EXTRA_HEADERS}
 	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $< ${EXTRA_FILES} $(LOADLIBES) $(LDLIBS) -o ib_$@
 clean:
-	$(foreach fname,${TESTS}, rm -f ib_${fname})
-	rm -f ${UTILS}	
+	$(foreach fname,${TESTS} ${UTILS}, rm -f ib_${fname})
 .DELETE_ON_ERROR:
 .PHONY: all clean

-- 
MST



More information about the general mailing list