From a40b724270a7194cfc1f9b5bae15b4b3ddc93ccb Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Sun, 16 Sep 2012 17:50:57 -0400 Subject: [PATCH] regressions/ck_hs: Add Makefile for benchmarks. --- regressions/ck_hs/benchmark/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 regressions/ck_hs/benchmark/Makefile diff --git a/regressions/ck_hs/benchmark/Makefile b/regressions/ck_hs/benchmark/Makefile new file mode 100644 index 0000000..6ffdb43 --- /dev/null +++ b/regressions/ck_hs/benchmark/Makefile @@ -0,0 +1,17 @@ +.PHONY: clean distribution + +OBJECTS=serial parallel_bytestring + +all: $(OBJECTS) + +serial: serial.c ../../../include/ck_hs.h ../../../src/ck_hs.c + $(CC) $(CFLAGS) -o serial serial.c ../../../src/ck_hs.c + +parallel_bytestring: parallel_bytestring.c ../../../include/ck_hs.h ../../../src/ck_hs.c ../../../src/ck_epoch.c + $(CC) $(PTHREAD_CFLAGS) $(CFLAGS) -o parallel_bytestring parallel_bytestring.c ../../../src/ck_hs.c ../../../src/ck_epoch.c + +clean: + rm -rf *~ *.o $(OBJECTS) *.dSYM + +include ../../../build/regressions.build +CFLAGS+=-D_GNU_SOURCE