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_rwcohort/validate/Makefile

26 lines
584 B

.PHONY: check clean distribution
OBJECTS=ck_neutral ck_rp ck_wp
all: $(OBJECTS)
ck_neutral: ck_neutral.c ../../../include/ck_rwcohort.h
$(CC) $(CFLAGS) -o ck_neutral ck_neutral.c
ck_rp: ck_rp.c ../../../include/ck_rwcohort.h
$(CC) $(CFLAGS) -o ck_rp ck_rp.c
ck_wp: ck_wp.c ../../../include/ck_rwcohort.h
$(CC) $(CFLAGS) -o ck_wp ck_wp.c
check: all
./ck_neutral `expr $(CORES) / 2` 2 1
./ck_rp `expr $(CORES) / 2` 2 1
./ck_wp `expr $(CORES) / 2` 2 1
clean:
rm -rf *.dSYM *~ *.o $(OBJECTS)
include ../../../build/regressions.build
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE