From e3a80ac2d337b92514f3246dbacb8e4ca7b62d90 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 24 Jun 2023 15:51:42 +0200 Subject: Add basic reader_linux skeleton --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 760a07e..f1a77fb 100644 --- a/Makefile +++ b/Makefile @@ -2,10 +2,12 @@ CFLAGS += -g -Wall -Wpedantic CORE_OBJS = control.o reader.o config.o command.o -PLUGINS = reader_yhy.so +PLUGINS = reader_yhy.so reader_linux.so reader_yhy.so: LDLIBS = -lyhy reader_yhy.so: LDFLAGS += -L. -Wl,-rpath . +reader_linux.so: LDLIBS += $(shell pkg-config --libs libnl-genl-3.0) +reader_linux.so: CFLAGS += $(shell pkg-config --cflags libnl-genl-3.0) %.so: CFLAGS += -shared -fPIC -- cgit v1.2.3