[openib-general] perftest-03: put C code in .c file
Grant Grundler
iod00d at hp.com
Wed May 11 08:11:05 PDT 2005
On Wed, May 11, 2005 at 03:00:04PM +0200, Bernhard Fischer wrote:
> >- gcc $(CFLAGS) -o rdma_lat rdma_lat.c -libverbs
>
> please replace that gcc with $(CC)
yes, good idea. Patch below (perftest-04) removes the line.
Applies on top of perftest-03.
thanks,
grant
Signed-off-by: Grant Grundler <iod00d at hp.com>
diff -u Makefile Makefile
--- Makefile (working copy)
+++ Makefile (working copy)
@@ -1,9 +1,9 @@
CFLAGS = -Wall -O2 -g -D_GNU_SOURCE
+LDFLAGS = -libverbs
RDMA_LAT_OBJ = rdma_lat.o get_clock.o
rdma_lat: $(RDMA_LAT_OBJ)
- gcc -o rdma_lat $(RDMA_LAT_OBJ) -libverbs
clean:
rm -f rdma_lat $(RDMA_LAT_OBJ)
More information about the general
mailing list