From 9098485dc7fe940c2c6d9019fb5484c76c6236f3 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Fri, 20 May 2011 16:24:48 -0400 Subject: [PATCH] regressions: Add Makefile for ck_rwlock and ck_brlock. Remove Makefile entry from .gitignore. --- .gitignore | 1 - regressions/ck_brlock/benchmark/Makefile | 14 ++++++++++++++ regressions/ck_brlock/validate/Makefile | 14 ++++++++++++++ regressions/ck_rwlock/benchmark/Makefile | 14 ++++++++++++++ regressions/ck_rwlock/validate/Makefile | 14 ++++++++++++++ 5 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 regressions/ck_brlock/benchmark/Makefile create mode 100644 regressions/ck_brlock/validate/Makefile create mode 100644 regressions/ck_rwlock/benchmark/Makefile create mode 100644 regressions/ck_rwlock/validate/Makefile diff --git a/.gitignore b/.gitignore index 9922f03..aebeaba 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -Makefile build/ck.build build/ck.pc build/regressions.build diff --git a/regressions/ck_brlock/benchmark/Makefile b/regressions/ck_brlock/benchmark/Makefile new file mode 100644 index 0000000..bff2594 --- /dev/null +++ b/regressions/ck_brlock/benchmark/Makefile @@ -0,0 +1,14 @@ +.PHONY: clean distribution + +OBJECTS=latency + +all: $(OBJECTS) + +latency: latency.c ../../../include/ck_brlock.h + $(CC) $(CFLAGS) -o latency latency.c + +clean: + rm -rf *.dSYM *~ *.o $(OBJECTS) + +include ../../../build/regressions.build +CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE diff --git a/regressions/ck_brlock/validate/Makefile b/regressions/ck_brlock/validate/Makefile new file mode 100644 index 0000000..50c7657 --- /dev/null +++ b/regressions/ck_brlock/validate/Makefile @@ -0,0 +1,14 @@ +.PHONY: clean distribution + +OBJECTS=validate + +all: $(OBJECTS) + +validate: validate.c ../../../include/ck_brlock.h + $(CC) $(CFLAGS) -o validate validate.c + +clean: + rm -rf *.dSYM *~ *.o $(OBJECTS) + +include ../../../build/regressions.build +CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE diff --git a/regressions/ck_rwlock/benchmark/Makefile b/regressions/ck_rwlock/benchmark/Makefile new file mode 100644 index 0000000..82140f0 --- /dev/null +++ b/regressions/ck_rwlock/benchmark/Makefile @@ -0,0 +1,14 @@ +.PHONY: clean distribution + +OBJECTS=latency + +all: $(OBJECTS) + +latency: latency.c ../../../include/ck_rwlock.h + $(CC) $(CFLAGS) -o latency latency.c + +clean: + rm -rf *.dSYM *~ *.o $(OBJECTS) + +include ../../../build/regressions.build +CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE diff --git a/regressions/ck_rwlock/validate/Makefile b/regressions/ck_rwlock/validate/Makefile new file mode 100644 index 0000000..93ffcad --- /dev/null +++ b/regressions/ck_rwlock/validate/Makefile @@ -0,0 +1,14 @@ +.PHONY: clean distribution + +OBJECTS=validate + +all: $(OBJECTS) + +validate: validate.c ../../../include/ck_rwlock.h + $(CC) $(CFLAGS) -o validate validate.c + +clean: + rm -rf *.dSYM *~ *.o $(OBJECTS) + +include ../../../build/regressions.build +CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE