X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=hello%2FMakefile;h=d4a2a294b9414b00c9bbfd94b09c1205338df3f6;hb=1ae7f0744f280e97ab1a2adc548b8fd9f2cb21a4;hp=4168e6e60561dfeec8a8031ec826afe99b52d46d;hpb=fbd8191b00521bbe7e52a6d1ff4bb814708f06ba;p=ust.git diff --git a/hello/Makefile b/hello/Makefile index 4168e6e..d4a2a29 100644 --- a/hello/Makefile +++ b/hello/Makefile @@ -2,10 +2,8 @@ all: hello hello: hello.c #dynamic version - gcc -g -I../libmarkers -I../share -I../libtracing -L../libmarkers -lmarkers -L../libtracectl -ltracectl -L../libtracing -ltracing -o hello hello.c marker-control.c serialize.c + gcc -g -I../libmarkers -I../share -I../libtracing -L../libmarkers -lmarkers -L../libtracectl -ltracectl -L../libtracing -ltracing $(CFLAGS) -Wl,-rpath ../../../../urcu -o hello hello.c marker-control.c serialize.c # -Wl,--print-map -#static version -# gcc -g -I../libmarkers -I../share -I../libtracing -L../libmarkers -o hello hello.c marker-control.c serialize.c ../libtracing/*.c ../libmarkers/*.c ../libtracectl/*.c ../share/*.c clean: rm -rf hello *.o