summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-02-01 17:39:20 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-02-01 17:39:20 +0100
commit5ac5b735b8cbc2bab60298ae93b381e88b00007f (patch)
tree3f4b7ff72d572259c9630aa7007eb214bf30345a /Makefile
parent0a6e6c9e4155fae6b39871caf9b69e5b4a74bdd1 (diff)
downloadlock_free-master.zip
lock_free-master.tar.gz
wip-worktree-stateHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e3ecd9a..52a9a1d 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
CC = gcc
STD = _GNU_SOURCE
-CFLAGS = -DDEBUG
+CFLAGS = -DDEBUG -g
BIN = cas container_of lock_free_queue_test lf_fifo_test lf_ringbuffer_test
.c.o:
@@ -28,7 +28,7 @@ lock_free_queue_test: lock_free_queue.o lock_free_queue_test.o
lf_fifo.o: lf_fifo.h lf_fifo.c lf_cas.h
lf_fifo_test.o: lf_fifo_test.c
lf_fifo_test: lf_fifo.o lf_fifo_test.o
- $(CC) -lpthread lf_fifo.o lf_fifo_test.o -o lf_fifo_test
+ $(CC) -g -lpthread lf_fifo.o lf_fifo_test.o -o lf_fifo_test
lf_ringbuffer.o: lf_ringbuffer.h lf_ringbuffer.c lf_ringbuffer_data.h lf_portable_cas.h
lf_ringbuffer_test.o: lf_ringbuffer_test.c lf_ringbuffer.h