You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ck/regressions/ck_cohort/benchmark/Makefile

18 lines
388 B

.PHONY: all clean
OBJECTS=ck_cohort.THROUGHPUT ck_cohort.LATENCY
all: $(OBJECTS)
ck_cohort.THROUGHPUT: ck_cohort.c
$(CC) $(CFLAGS) -o ck_cohort.THROUGHPUT throughput.c -lm
ck_cohort.LATENCY: ck_cohort.c
$(CC) -DLATENCY $(CFLAGS) -o ck_cohort.LATENCY ck_cohort.c
clean:
rm -rf *.dSYM $(OBJECTS)
include ../../../build/regressions.build
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE -lm