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.
24 lines
764 B
24 lines
764 B
14 years ago
|
.PHONY: clean distribution
|
||
|
|
||
|
OBJECTS=ck_hp_stack nbds_haz_test serial ck_hp_fifo
|
||
|
|
||
|
all: $(OBJECTS)
|
||
|
|
||
|
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
|
||
|
|
||
|
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
|
||
|
|
||
|
serial: ../../../src/ck_hp.c serial.c ../../../include/ck_hp_stack.h
|
||
|
$(CC) $(CFLAGS) ../../../src/ck_hp.c -o serial serial.c
|
||
|
|
||
|
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
|
||
|
|
||
|
clean:
|
||
|
rm -rf *~ *.o *.dSYM $(OBJECTS)
|
||
|
|
||
|
include ../../../build/regressions.build
|
||
|
CFLAGS+=-lpthread -D_GNU_SOURCE -ggdb
|