summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2009-11-03 21:11:43 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2009-11-03 21:11:43 +0100
commit9f4d3aea7210d91ce4135bf31a50167fdfec1fda (patch)
tree1feda0d1d3ae0f8b22a4e5a8117d0b1de711449d /Makefile
parent88fed6a7409411c9ab26151bb757de6f95063e72 (diff)
downloadlock_free-9f4d3aea7210d91ce4135bf31a50167fdfec1fda.zip
lock_free-9f4d3aea7210d91ce4135bf31a50167fdfec1fda.tar.gz
first version of single linked lock free queue
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 63e4a7c..67d1f5c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
CC = gcc
STD = _GNU_SOURCE
CFLAGS = -DDEBUG
-BIN = cas_test lock_free_queue_test
+BIN = cas_test lock_free_queue_test lfq_test
.c.o:
$(CC) -c -Wall -I. $(CFLAGS) -D$(STD) $<
@@ -16,6 +16,11 @@ cas_test: cas_test.o
lock_free_queue_test: lock_free_queue.o lock_free_queue_test.o
$(CC) lock_free_queue.o lock_free_queue_test.o -o lock_free_queue_test
-clean:
- rm -f *~ *.o core $(BIN)
+lfq_test: lfq_cas.h lfq.o lfq_test.o
+ $(CC) lfq.o lfq_test.o -o lfq_test
+
+as:
+ $(CC) -S lfq.c
+clean:
+ rm -f *~ *.o *.s core $(BIN)