X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=hello%2FMakefile;h=1e65c5ef6696f97c401806e85d151fc5486d87f1;hb=f99be40702e206d2cef5aa056623d7b07f21f942;hp=8a95626d3a55a4635222c086d5f0d3c0d07cf099;hpb=68c1021b2136a6aea5dbbe138c5103e30b5d8712;p=lttng-ust.git diff --git a/hello/Makefile b/hello/Makefile index 8a95626d..1e65c5ef 100644 --- a/hello/Makefile +++ b/hello/Makefile @@ -1,7 +1,11 @@ all: hello hello: hello.c - gcc -g -L../libtracectl -ltracectl -o hello hello.c +#dynamic version + 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 + # -Wl,--print-map clean: rm -rf hello *.o + +.PHONY: all hello clean