X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=Makefile;h=d787820349ae0188134304d7ae74a951bf183769;hp=8a699a7f63d6659c67caa04eae63c0311b6c3e02;hb=f5f51ac3ef3e0db8a0940c456bce22bc9000fdbf;hpb=f69f195a06af55b7501ed2f59ed719970727ce5b diff --git a/Makefile b/Makefile index 8a699a7..d787820 100644 --- 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