ust: generate traces readable in lttv
[ust.git] / hello / Makefile
index 8a95626d3a55a4635222c086d5f0d3c0d07cf099..eeb43fdb1d1a9cdde578c92cb2e548061711a655 100644 (file)
@@ -1,7 +1,12 @@
 all: hello
 
 hello: hello.c
-       gcc -g -L../libtracectl -ltracectl -o 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
+#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
+
+.PHONY: all hello clean
This page took 0.022498 seconds and 4 git commands to generate.