M7350/kernel/tools/virtio/virtio-trace/Makefile

14 lines
211 B
Makefile
Raw Permalink Normal View History

2024-09-09 08:57:42 +00:00
CC = gcc
CFLAGS = -O2 -Wall -pthread
all: trace-agent
.c.o:
$(CC) $(CFLAGS) -c $^ -o $@
trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
$(CC) $(CFLAGS) -o $@ $^
clean:
rm -f *.o trace-agent