From 954197aa34ebc59becd56f093d3690ab65f1d8a4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Mon, 19 Feb 2024 11:27:00 +0200 Subject: restructure --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 68e70a2..f1ecd1a 100644 --- a/Makefile +++ b/Makefile @@ -11,8 +11,7 @@ build: bpfbuild gobuild .PHONY: bpfbuild bpfbuild: - make -C ./internal/c - if [ ! -e ioriotng.bpf.c ]; then ln -s ./internal/c/ioriotng.bpf.c .; fi + make -C ./internal/c redo if [ ! -e ioriotng.bpf.o ]; then ln -s ./internal/c/ioriotng.bpf.o .; fi .PHONY: gobuild @@ -22,7 +21,6 @@ gobuild: .PHONY: clean clean: find . -type f -name ioriotng -delete - if [ -e ioriotng.bpf.c ]; then rm ioriotng.bpf.c; fi if [ -e ioriotng.bpf.o ]; then rm ioriotng.bpf.o; fi make -C ./internal/c clean -- cgit v1.2.3