1 # SPDX-License-Identifier: GPL-2.0 << 2 CC = gcc 1 CC = gcc 3 CFLAGS = -O2 -Wall -pthread 2 CFLAGS = -O2 -Wall -pthread 4 3 5 all: trace-agent 4 all: trace-agent 6 5 7 .c.o: 6 .c.o: 8 $(CC) $(CFLAGS) -c $^ -o $@ 7 $(CC) $(CFLAGS) -c $^ -o $@ 9 8 10 trace-agent: trace-agent.o trace-agent-ctl.o t 9 trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o 11 $(CC) $(CFLAGS) -o $@ $^ 10 $(CC) $(CFLAGS) -o $@ $^ 12 11 13 clean: 12 clean: 14 rm -f *.o trace-agent 13 rm -f *.o trace-agent
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.