tools: Add guest trace agent as a user tool
[firefly-linux-kernel-4.4.55.git] / tools / virtio / virtio-trace / Makefile
1 CC = gcc
2 CFLAGS = -O2 -Wall
3 LFLAG = -lpthread
4
5 all: trace-agent
6
7 .c.o:
8         $(CC) $(CFLAGS) $(LFLAG) -c $^ -o $@
9
10 trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
11         $(CC) $(CFLAGS) $(LFLAG) -o $@ $^
12
13 clean:
14         rm -f *.o trace-agent