diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2009-11-01 19:54:13 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2009-11-01 19:54:13 +0100 |
commit | 88fed6a7409411c9ab26151bb757de6f95063e72 (patch) | |
tree | 32b4f03eeb4da188158db26f5c6ea7ec94ae5b90 /Makefile | |
download | lock_free-88fed6a7409411c9ab26151bb757de6f95063e72.zip lock_free-88fed6a7409411c9ab26151bb757de6f95063e72.tar.gz |
initial commit
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..63e4a7c --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ + + +CC = gcc +STD = _GNU_SOURCE +CFLAGS = -DDEBUG +BIN = cas_test lock_free_queue_test + +.c.o: + $(CC) -c -Wall -I. $(CFLAGS) -D$(STD) $< + +all: $(BIN) + +cas_test: cas_test.o + $(CC) cas_test.o -o cas_test + +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) + |