X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=hello%2FMakefile;h=8b7e40842298787987df6c410e3c976e39bb95bf;hb=0b0cd93782698872ea4778d29cd68091663ca367;hp=eeb43fdb1d1a9cdde578c92cb2e548061711a655;hpb=9c67dc50afb2eaa1c3966ee73fac3ce55935556c;p=lttng-ust.git diff --git a/hello/Makefile b/hello/Makefile index eeb43fdb..8b7e4084 100644 --- a/hello/Makefile +++ b/hello/Makefile @@ -2,9 +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 -static -#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 + 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 tp.c + # -Wl,--print-map clean: rm -rf hello *.o