mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-25 15:46:24 +07:00
15 lines
238 B
Makefile
15 lines
238 B
Makefile
|
CC = gcc
|
||
|
CFLAGS = -O2 -Wall
|
||
|
LFLAG = -lpthread
|
||
|
|
||
|
all: trace-agent
|
||
|
|
||
|
.c.o:
|
||
|
$(CC) $(CFLAGS) $(LFLAG) -c $^ -o $@
|
||
|
|
||
|
trace-agent: trace-agent.o trace-agent-ctl.o trace-agent-rw.o
|
||
|
$(CC) $(CFLAGS) $(LFLAG) -o $@ $^
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o trace-agent
|