From 2d237b8f1729c4f1cc1db71a94bb9341ca116a15 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 28 Feb 2021 20:34:04 -0300 Subject: Makefile: Add LDLIBS and LDFLAGS --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e70326d..18de0b5 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ .POSIX: CC = c99 CFLAGS = -std=c99 -Wall -Wextra -Wpedantic -fPIC -g -LDFLAGS = -LDLIBS = +LDFLAGS = -Wl,-rpath,$$LIBRARY_PATH +LDLIBS = -lsharedc PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man VERSION = 0.2.1 -- cgit v1.2.3