X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ustd%2FMakefile;h=fb5c0e30d04338a137a03a4b7e93d307974a8c54;hb=0b0cd93782698872ea4778d29cd68091663ca367;hp=0de51f87b6f3884bd8910bc6894876b65fa173fa;hpb=0ce2af7f6372336d520847b4745da781344ba743;p=ust.git diff --git a/ustd/Makefile b/ustd/Makefile index 0de51f8..fb5c0e3 100644 --- a/ustd/Makefile +++ b/ustd/Makefile @@ -1,6 +1,17 @@ +CFLAGS="-g -Wall" + all: ustd -ustd: ustd.c - gcc -g -Wall -I ../libustcomm -I. -I ../../../../libkcompat -lpthread -o ustd ustd.c ../libustcomm/ustcomm.c +lowlevel.o: lowlevel.c + gcc -g -Wall -I ../libustcomm -I. -I ../../../../libkcompat -I ../libtracing -I ../share -I ../../../../urcu -I ../libmarkers -lpthread -c lowlevel.c + +ustd.o: ustd.c + gcc -g -Wall -I ../libustcomm -I. -I ../../../../libkcompat -lpthread -c ustd.c + +ustcomm.o: ../libustcomm/ustcomm.c + gcc -g -Wall -I ../share ../libustcomm/ustcomm.c + +ustd: ustd.o lowlevel.o ustcomm.o + gcc -g -Wall -lpthread -o ustd ustd.o lowlevel.o ustcomm.o .PHONY: ustd