summaryrefslogtreecommitdiffstats
path: root/regressions/ck_brlock/benchmark/Makefile
blob: cd12e7ca3428420a6a3be6b3e5cabafbf8bc184f (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_brlock.h
	$(CC) $(CFLAGS) -o latency latency.c

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

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

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