summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcbdev <cb@cbcdn.com>2023-06-17 19:05:39 +0200
committercbdev <cb@cbcdn.com>2023-06-17 19:05:39 +0200
commit8b6e2b063183fd647145f48e8746512350002b87 (patch)
treeba562224ceb5171a9a8a949e0de1d18bc17ed3cc /Makefile
parent336a336e45c90851dcc8430f7f8eeabc9f3399e1 (diff)
downloadnfcommander-8b6e2b063183fd647145f48e8746512350002b87.tar.gz
nfcommander-8b6e2b063183fd647145f48e8746512350002b87.tar.bz2
nfcommander-8b6e2b063183fd647145f48e8746512350002b87.zip
Structural changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
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