X-Git-Url: https://git.liburcu.org/?p=urcu.git;a=blobdiff_plain;f=Makefile;h=63cbec9e5c484edfd2800c22242e359cddf2bc81;hp=1f53f00d61544756186e54c7666ccad070c2c94c;hb=cdcb92bbb9e54201e0982844e3ca9cb4fd9b31e5;hpb=27b012e271a82b9a0d94543688904f207cd154ea diff --git a/Makefile b/Makefile index 1f53f00..63cbec9 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 -lpthread -g -o test_urcu urcu.o test_urcu.c urcu.o: urcu.c urcu.h - gcc -g -o urcu.o urcu.c + gcc -lpthread -g -c -o urcu.o urcu.c + +.PHONY: clean + +clean: + rm -f urcu.o test_urcu