From 8eee71d366e3f4852af8f38af1b1581d8e3fcff9 Mon Sep 17 00:00:00 2001 From: gamemann Date: Fri, 12 Nov 2021 21:34:00 +0000 Subject: [PATCH] Organize Makefile further. --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 17df947..e42af32 100644 --- a/Makefile +++ b/Makefile @@ -5,11 +5,10 @@ BUILDDIR = build SRCDIR = src LIBBPFSRC = libbpf/src -LIBBPFOBJS += $(LIBBPFSRC)/staticobjs/bpf_prog_linfo.o $(LIBBPFSRC)/staticobjs/bpf.o $(LIBBPFSRC)/staticobjs/btf_dump.o +LIBBPFOBJS = $(LIBBPFSRC)/staticobjs/bpf_prog_linfo.o $(LIBBPFSRC)/staticobjs/bpf.o $(LIBBPFSRC)/staticobjs/btf_dump.o LIBBPFOBJS += $(LIBBPFSRC)/staticobjs/btf.o $(LIBBPFSRC)/staticobjs/hashmap.o $(LIBBPFSRC)/staticobjs/libbpf_errno.o LIBBPFOBJS += $(LIBBPFSRC)/staticobjs/libbpf_probes.o $(LIBBPFSRC)/staticobjs/libbpf.o $(LIBBPFSRC)/staticobjs/netlink.o -LIBBPFOBJS += $(LIBBPFSRC)/staticobjs/nlattr.o $(LIBBPFSRC)/staticobjs/str_error.o -LIBBPFOBJS += $(LIBBPFSRC)/staticobjs/xsk.o +LIBBPFOBJS += $(LIBBPFSRC)/staticobjs/nlattr.o $(LIBBPFSRC)/staticobjs/str_error.o $(LIBBPFSRC)/staticobjs/xsk.o CONFIGSRC = config.c CONFIGOBJ = config.o