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
681 B
24 lines
681 B
14 years ago
|
.PHONY: clean distribution
|
||
|
|
||
|
OBJECTS=ck_fifo_spsc ck_fifo_mpmc ck_fifo_spsc_iterator ck_fifo_mpmc_iterator
|
||
|
|
||
|
all: ck_fifo_spsc ck_fifo_mpmc ck_fifo_spsc_iterator ck_fifo_mpmc_iterator
|
||
|
|
||
|
ck_fifo_spsc: ck_fifo_spsc.c
|
||
|
$(CC) $(CFLAGS) -o ck_fifo_spsc ck_fifo_spsc.c
|
||
|
|
||
|
ck_fifo_mpmc: ck_fifo_mpmc.c
|
||
|
$(CC) $(CFLAGS) -o ck_fifo_mpmc ck_fifo_mpmc.c
|
||
|
|
||
|
ck_fifo_spsc_iterator: ck_fifo_spsc_iterator.c
|
||
|
$(CC) $(CFLAGS) -o ck_fifo_spsc_iterator ck_fifo_spsc_iterator.c
|
||
|
|
||
|
ck_fifo_mpmc_iterator: ck_fifo_mpmc_iterator.c
|
||
|
$(CC) $(CFLAGS) -o ck_fifo_mpmc_iterator ck_fifo_mpmc_iterator.c
|
||
|
|
||
|
clean:
|
||
|
rm -rf *.dSYM *~ *.o $(OBJECTS)
|
||
|
|
||
|
include ../../../build/regressions.build
|
||
|
CFLAGS+=-lpthread -D_GNU_SOURCE
|