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.
22 lines
626 B
22 lines
626 B
.PHONY: check clean distribution
|
|
|
|
OBJECTS=ck_stack ck_stack_read
|
|
|
|
all: $(OBJECTS)
|
|
|
|
check: all
|
|
./ck_stack $(CORES) 10 1
|
|
./ck_stack_read $(CORES) 10 1
|
|
|
|
ck_stack_read: ck_stack_read.c ../../../include/ck_stack.h ../../../include/ck_epoch.h ../../../src/ck_epoch.c
|
|
$(CC) $(CFLAGS) -o ck_stack_read ck_stack_read.c ../../../src/ck_epoch.c
|
|
|
|
ck_stack: ck_stack.c ../../../include/ck_stack.h ../../../include/ck_epoch.h ../../../src/ck_epoch.c
|
|
$(CC) $(CFLAGS) -o ck_stack ck_stack.c ../../../src/ck_epoch.c
|
|
|
|
clean:
|
|
rm -rf *~ *.o $(OBJECTS) *.dSYM
|
|
|
|
include ../../../build/regressions.build
|
|
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE
|