ust: use libkcompat
[ust.git] / hello / Makefile
index eeb43fdb1d1a9cdde578c92cb2e548061711a655..d4a2a294b9414b00c9bbfd94b09c1205338df3f6 100644 (file)
@@ -2,9 +2,8 @@ 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
-#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
This page took 0.023475 seconds and 4 git commands to generate.