From 8b6e2b063183fd647145f48e8746512350002b87 Mon Sep 17 00:00:00 2001 From: cbdev Date: Sat, 17 Jun 2023 19:05:39 +0200 Subject: Structural changes --- Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b5a9e02..6b04db5 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ CFLAGS += -g -Wall -Wpedantic CORE_OBJS = control.o reader.o config.o PLUGINS = reader_yhy.so +reader_yhy.so: LDLIBS = -lyhy +reader_yhy.so: LDFLAGS = -L. -Wl,-rpath . + %.so: CFLAGS += -shared -fPIC %.so :: %.c %.h -- cgit v1.2.3