X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=Makefile;h=d787820349ae0188134304d7ae74a951bf183769;hb=87bd15cdb3e77c3d0a616c57ae3876ddea48a54f;hp=1f53f00d61544756186e54c7666ccad070c2c94c;hpb=27b012e271a82b9a0d94543688904f207cd154ea;p=urcu.git diff --git a/Makefile b/Makefile index 1f53f00..d787820 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ test_urcu: urcu.o test_urcu.c - gcc -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 -g -o urcu.o urcu.c + gcc -Wall -lpthread -g -c -o urcu.o urcu.c + +.PHONY: clean + +clean: + rm -f urcu.o test_urcu