summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2010-01-05 23:23:42 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2010-01-05 23:23:42 +0100
commita42b187447f583595092dd04277ccd4bde802678 (patch)
tree36c44640666121d82706e6b3ab60d7e68bae64b4 /Makefile
parent24a12d9ba681fcde6beb3c11bc54d13e2d6ad436 (diff)
downloadlock_free-a42b187447f583595092dd04277ccd4bde802678.zip
lock_free-a42b187447f583595092dd04277ccd4bde802678.tar.gz
first lock free ring buffer implementation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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)