From 589e15b61893aabf2bdce9f44858c337210ef76e Mon Sep 17 00:00:00 2001 From: Mika Date: Fri, 19 Dec 2025 16:32:37 +0000 Subject: [PATCH] Add bpf_probe_tool/Makefile --- bpf_probe_tool/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 bpf_probe_tool/Makefile diff --git a/bpf_probe_tool/Makefile b/bpf_probe_tool/Makefile new file mode 100644 index 0000000..a5fb4f5 --- /dev/null +++ b/bpf_probe_tool/Makefile @@ -0,0 +1,17 @@ +CC ?= gcc +CFLAGS ?= -O2 -Wall -Wextra -pedantic +LDFLAGS ?= +TARGET := bpf_probe_tool + +.PHONY: all clean + +all: $(TARGET) + +$(TARGET): main.o + $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) + +main.o: main.c + $(CC) $(CFLAGS) -c main.c -o main.o + +clean: + rm -f $(TARGET) main.o