| 1 | CFLAGS="-g -Wall" |
| 2 | |
| 3 | all: ustd |
| 4 | |
| 5 | lowlevel.o: lowlevel.c |
| 6 | gcc -g -Wall -I ../libustcomm -I. -I ../../../../libkcompat -I ../libtracing -I ../share -I ../../../../urcu -I ../libmarkers -lpthread -c lowlevel.c |
| 7 | |
| 8 | ustd.o: ustd.c |
| 9 | gcc -g -Wall -I ../libustcomm -I. -I ../../../../libkcompat -lpthread -c ustd.c |
| 10 | |
| 11 | ustcomm.o: ../libustcomm/ustcomm.c |
| 12 | gcc -g -Wall -I ../share ../libustcomm/ustcomm.c |
| 13 | |
| 14 | ustd: ustd.o lowlevel.o ustcomm.o |
| 15 | gcc -g -Wall -lpthread -o ustd ustd.o lowlevel.o ustcomm.o |
| 16 | |
| 17 | .PHONY: ustd |