ust: allow tracing of dynamically linked libraries
[ust.git] / hello / Makefile
index 2eee11522fbf906e89e0e933d4effd011ad0c9bf..57cc8f2be33567a34a4f3534d73da0000527a0ef 100644 (file)
@@ -1,7 +1,10 @@
 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 marker-control.c serialize.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
This page took 0.030041 seconds and 4 git commands to generate.