X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;ds=sidebyside;f=hello%2FMakefile;h=4168e6e60561dfeec8a8031ec826afe99b52d46d;hb=54d6c4f2322470b741653a49711c507023e4f48a;hp=703c97e65e3fb3bb58a3d5416ce1d88c05d60d2c;hpb=8d938dbd14e689a294f8a251e4ac255985c65ad5;p=lttng-ust.git diff --git a/hello/Makefile b/hello/Makefile index 703c97e6..4168e6e6 100644 --- a/hello/Makefile +++ b/hello/Makefile @@ -1,7 +1,11 @@ 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 serialize.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 + # -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