14 lines
211 B
Makefile
Executable File
14 lines
211 B
Makefile
Executable File
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
|