ust: allow tracing of dynamically linked libraries
[ust.git] / hello / Makefile
index eeb43fdb1d1a9cdde578c92cb2e548061711a655..57cc8f2be33567a34a4f3534d73da0000527a0ef 100644 (file)
@@ -2,9 +2,9 @@ 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
+       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 -o hello hello.c marker-control.c serialize.c ../libtracing/*.c ../libmarkers/*.c ../libtracectl/*.c ../share/*.c
 
 clean:
        rm -rf hello *.o
This page took 0.02229 seconds and 4 git commands to generate.