blob: 7843ebcda71dec9d0616663675eabd40106fdbfc [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# SPDX-License-Identifier: GPL-2.0
2CC = gcc
3CFLAGS = -O2 -Wall -pthread
4
5all: trace-agent
6
7.c.o:
8 $(CC) $(CFLAGS) -c $^ -o $@
9
10trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
11 $(CC) $(CFLAGS) -o $@ $^
12
13clean:
14 rm -f *.o trace-agent