update Makefile, -Wall
[urcu.git] / Makefile
index 8a699a7f63d6659c67caa04eae63c0311b6c3e02..d787820349ae0188134304d7ae74a951bf183769 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,11 @@
 
 test_urcu: urcu.o test_urcu.c
-       gcc -lpthread -g -o test_urcu urcu.o test_urcu.c
+       gcc -Wall -lpthread -g -o test_urcu urcu.o test_urcu.c
 
 urcu.o: urcu.c urcu.h
-       gcc -lpthread -g -c -o urcu.o urcu.c
+       gcc -Wall -lpthread -g -c -o urcu.o urcu.c
+
+.PHONY: clean
+
+clean:
+       rm -f urcu.o test_urcu
This page took 0.022438 seconds and 4 git commands to generate.