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.
23 lines
441 B
23 lines
441 B
.PHONY: check clean distribution
|
|
|
|
HEADER=../../../include/ck_queue.h
|
|
OBJECTS=ck_slist ck_list
|
|
|
|
all: $(OBJECTS)
|
|
|
|
check: all
|
|
./ck_slist $(CORES) 100000
|
|
./ck_list $(CORES) 100000
|
|
|
|
ck_slist: $(HEADER) ck_slist.c
|
|
$(CC) $(CFLAGS) -o ck_slist ck_slist.c
|
|
|
|
ck_list: $(HEADER) ck_list.c
|
|
$(CC) $(CFLAGS) -o ck_list ck_list.c
|
|
|
|
clean:
|
|
rm -rf *~ *.o $(OBJECTS) *.dSYM
|
|
|
|
include ../../../build/regressions.build
|
|
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE
|