From a42b187447f583595092dd04277ccd4bde802678 Mon Sep 17 00:00:00 2001 From: Jérémy Zurcher Date: Tue, 5 Jan 2010 23:23:42 +0100 Subject: first lock free ring buffer implementation --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index a12803a..5f766d3 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ CC = gcc STD = _GNU_SOURCE CFLAGS = -DDEBUG -BIN = cas container_of lock_free_queue_test lf_fifo_test +BIN = cas container_of lock_free_queue_test lf_fifo_test lf_ring_buffer.o .c.o: $(CC) -c -Wall -I. $(CFLAGS) -D$(STD) $< @@ -26,5 +26,7 @@ lf_fifo.o: lf_fifo.h lf_cas.h lf_fifo_test: lf_fifo.o lf_fifo_test.o $(CC) lf_fifo.o lf_fifo_test.o -o lf_fifo_test +lf_ring_buffer.o: lf_ring_buffer.h lf_portable_cas.h + clean: rm -f *~ *.o *.s core $(BIN) -- cgit v1.2.3