aboutsummaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
Diffstat (limited to 'tools/virtio')
-rw-r--r--tools/virtio/virtio-trace/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/virtio/virtio-trace/Makefile b/tools/virtio/virtio-trace/Makefile
index ef3adfce594c..0d2381633475 100644
--- a/tools/virtio/virtio-trace/Makefile
+++ b/tools/virtio/virtio-trace/Makefile
@@ -1,14 +1,13 @@
1CC = gcc 1CC = gcc
2CFLAGS = -O2 -Wall 2CFLAGS = -O2 -Wall -pthread
3LFLAG = -lpthread
4 3
5all: trace-agent 4all: trace-agent
6 5
7.c.o: 6.c.o:
8 $(CC) $(CFLAGS) $(LFLAG) -c $^ -o $@ 7 $(CC) $(CFLAGS) -c $^ -o $@
9 8
10trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o 9trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
11 $(CC) $(CFLAGS) $(LFLAG) -o $@ $^ 10 $(CC) $(CFLAGS) -o $@ $^
12 11
13clean: 12clean:
14 rm -f *.o trace-agent 13 rm -f *.o trace-agent