ck/regressions/ck_tflock/benchmark/Makefile

18 lines
443 B
Makefile
Raw Permalink Normal View History

.PHONY: clean distribution
OBJECTS=latency throughput
all: $(OBJECTS)
latency: latency.c ../../../include/ck_rwlock.h ../../../include/ck_elide.h
$(CC) $(CFLAGS) -o latency latency.c
throughput: throughput.c ../../../include/ck_rwlock.h ../../../include/ck_elide.h
$(CC) $(CFLAGS) -o throughput throughput.c
clean:
rm -rf *.dSYM *.exe *~ *.o $(OBJECTS)
include ../../../build/regressions.build
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE