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

34 lines
1.1 KiB

.PHONY: check clean distribution
14 years ago
OBJECTS=ck_hp_stack nbds_haz_test serial ck_hp_fifo ck_hp_fifo_donner
14 years ago
all: $(OBJECTS)
check: all
./serial
./ck_hp_stack $(CORES) 100 1
./ck_hp_fifo $(CORES) 1 16384 100
./nbds_haz_test $(CORES) 15 1
./ck_hp_fifo_donner $(CORES) 16384
14 years ago
ck_hp_stack: ../../../src/ck_hp.c ck_hp_stack.c ../../../include/ck_hp_stack.h
$(CC) $(CFLAGS) ../../../src/ck_hp.c -o ck_hp_stack ck_hp_stack.c
14 years ago
ck_hp_fifo: ../../../src/ck_hp.c ck_hp_fifo.c ../../../include/ck_hp_fifo.h
$(CC) $(CFLAGS) ../../../src/ck_hp.c -o ck_hp_fifo ck_hp_fifo.c
14 years ago
ck_hp_fifo_donner: ../../../src/ck_hp.c ck_hp_fifo_donner.c ../../../include/ck_hp_fifo.h
$(CC) $(CFLAGS) ../../../src/ck_hp.c -o ck_hp_fifo_donner ck_hp_fifo_donner.c
14 years ago
serial: ../../../src/ck_hp.c serial.c ../../../include/ck_hp_stack.h
$(CC) $(CFLAGS) ../../../src/ck_hp.c -o serial serial.c
14 years ago
nbds_haz_test: ../../../src/ck_hp.c nbds_haz_test.c
$(CC) $(CFLAGS) ../../../src/ck_hp.c -o nbds_haz_test nbds_haz_test.c
14 years ago
clean:
rm -rf *~ *.o *.dSYM *.exe $(OBJECTS)
14 years ago
include ../../../build/regressions.build
CFLAGS+=$(PTHREAD_CFLAGS) -D_GNU_SOURCE