X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=hello%2FMakefile;h=d4a2a294b9414b00c9bbfd94b09c1205338df3f6;hb=20b37a3100b0d8722b361f62fd592520264fb9fa;hp=57cc8f2be33567a34a4f3534d73da0000527a0ef;hpb=c463904d75d0711fe6380ef0cda4ed07e6f7f969;p=ust.git diff --git a/hello/Makefile b/hello/Makefile index 57cc8f2..d4a2a29 100644 --- a/hello/Makefile +++ b/hello/Makefile @@ -2,9 +2,8 @@ all: hello 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 + 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 marker-control.c serialize.c + # -Wl,--print-map clean: rm -rf hello *.o