| xj | b04a402 | 2021-11-25 15:01:52 +0800 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | CC = gcc | ||||
| 3 | CFLAGS = -O2 -Wall -pthread | ||||
| 4 | |||||
| 5 | all: trace-agent | ||||
| 6 | |||||
| 7 | .c.o: | ||||
| 8 | $(CC) $(CFLAGS) -c $^ -o $@ | ||||
| 9 | |||||
| 10 | trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o | ||||
| 11 | $(CC) $(CFLAGS) -o $@ $^ | ||||
| 12 | |||||
| 13 | clean: | ||||
| 14 | rm -f *.o trace-agent | ||||