X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=hello%2FMakefile;h=57cc8f2be33567a34a4f3534d73da0000527a0ef;hb=c463904d75d0711fe6380ef0cda4ed07e6f7f969;hp=1133d19e21238a3a335b3097d6f3589843b30712;hpb=59b161cdfcaad93fee295add37090a3d991e7aa8;p=ust.git diff --git a/hello/Makefile b/hello/Makefile index 1133d19..57cc8f2 100644 --- a/hello/Makefile +++ b/hello/Makefile @@ -1,7 +1,10 @@ all: hello hello: hello.c - gcc -g -I../libmarkers -I../share -L../libmarkers -lmarkers -L../libtracectl -ltracectl -o hello hello.c +#dynamic version + gcc -g -Wl,--print-map -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 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