[ofa-general] [PATCH-v2] perftest: Fix deleting the utils files in "make clean"
Dotan Barak
dotanb at dev.mellanox.co.il
Sun Jul 29 03:32:54 PDT 2007
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
More information about the general
mailing list