summaryrefslogtreecommitdiffstats
path: root/regressions/ck_pflock/benchmark/Makefile
blob: 6f739d93c408e62852d519f4955c07d744bb4378 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.PHONY: clean distribution

OBJECTS=latency throughput

all: $(OBJECTS)

latency: latency.c ../../../include/ck_rwlock.h
	$(CC) $(CFLAGS) -o latency latency.c

throughput: throughput.c ../../../include/ck_rwlock.h
	$(CC) $(CFLAGS) -o throughput throughput.c

clean:
	rm -rf *.dSYM *.exe *~ *.o $(OBJECTS)

include ../../../build/regressions.build
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE