From fbdc51230443e61710a513e9171c2bc7f8f165ff Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Wed, 26 Dec 2012 20:52:32 -0500 Subject: [PATCH] regressions/ck_ring: Use variable for ring size. --- regressions/ck_ring/validate/Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/regressions/ck_ring/validate/Makefile b/regressions/ck_ring/validate/Makefile index 913e7e7..a0b51cc 100644 --- a/regressions/ck_ring/validate/Makefile +++ b/regressions/ck_ring/validate/Makefile @@ -1,14 +1,15 @@ .PHONY: check clean distribution OBJECTS=ck_ring_spsc ck_ring_spsc_template ck_ring_spmc ck_ring_spmc_template +SIZE=65536 all: $(OBJECTS) check: all - ./ck_ring_spsc $(CORES) 1 65536 - ./ck_ring_spsc_template $(CORES) 1 65536 - ./ck_ring_spmc $(CORES) 1 65536 - ./ck_ring_spmc_template $(CORES) 1 65536 + ./ck_ring_spsc $(CORES) 1 $(SIZE) + ./ck_ring_spsc_template $(CORES) 1 $(SIZE) + ./ck_ring_spmc $(CORES) 1 $(SIZE) + ./ck_ring_spmc_template $(CORES) 1 $(SIZE) ck_ring_spsc_template: ck_ring_spsc_template.c ../../../include/ck_ring.h $(CC) $(CFLAGS) -o ck_ring_spsc_template ck_ring_spsc_template.c \