X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=hello%2FMakefile;h=62f4c65379fb6b68ce134c1d6c71fede3839aff5;hb=09938485689f3482ec845e52d5bf5e78c1093e27;hp=d68b5455e6c352b9f6c84107aa282a3a9daee046;hpb=5f54827b88b093974e4bf58f67490036718644c7;p=lttng-ust.git diff --git a/hello/Makefile b/hello/Makefile index d68b5455..62f4c653 100644 --- a/hello/Makefile +++ b/hello/Makefile @@ -1,7 +1,9 @@ all: hello hello: hello.c - gcc -g -I../libmarkers -I../share -I../libtracing -L../libmarkers -lmarkers -L../libtracectl -ltracectl -L../libtracing -ltracing -o hello hello.c +#dynamic version + gcc -g -I../libmarkers -I../share -I../libtracing -L../libmarkers -lmarkers -L../libtracectl -ltracectl -L../libtracing -ltracing -I../../../../urcu -Wl,-rpath ../../../../urcu -o hello hello.c marker-control.c serialize.c + # -Wl,--print-map clean: rm -rf hello *.o