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

Dotan Barak dotanb at dev.mellanox.co.il
Sat Jul 28 23:53:36 PDT 2007


Fix deleting the utils files in "make clean".

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

---

Index: connectx_user/src/userspace/perftest/Makefile
===================================================================
--- connectx_user.orig/src/userspace/perftest/Makefile	2007-07-26 08:02:02.000000000 +0300
+++ connectx_user/src/userspace/perftest/Makefile	2007-07-29 09:38:40.000000000 +0300
@@ -16,6 +16,6 @@ ${TESTS} ${UTILS}: %: %.c ${EXTRA_FILES}
 	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $< ${EXTRA_FILES} $(LOADLIBES) $(LDLIBS) -o ib_$@
 clean:
 	$(foreach fname,${TESTS}, rm -f ib_${fname})
-	rm -f ${UTILS}	
+	$(foreach fname,${UTILS}, rm -f ib_${fname})
 .DELETE_ON_ERROR:
 .PHONY: all clean



More information about the general mailing list