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

OBJECTS=validate

all: $(OBJECTS)

validate: validate.c ../../../include/ck_tflock.h ../../../include/ck_elide.h
	$(CC) $(CFLAGS) -o validate validate.c

check: all
	./validate $(CORES) 1

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

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