ust: allow tracing of dynamically linked libraries
[ust.git] / hello / Makefile
index d68b5455e6c352b9f6c84107aa282a3a9daee046..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
+#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.022631 seconds and 4 git commands to generate.