tFix makefile for OpenBSD - safe - password protected secret keeper
(HTM) git clone git://git.z3bra.org/safe.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 68736e81ed0205d8f2c49fbaf4ef8b6bd8de54b5
(DIR) parent cd4ed5d1df38d2a509dbfea3265ac7e949deb2b9
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Mon, 24 Jun 2019 16:40:04 +0200
Fix makefile for OpenBSD
Diffstat:
M makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/makefile b/makefile
t@@ -12,7 +12,10 @@ LDLIBS = -lsodium
all: safe safe-agent
safe: safe.o readpassphrase.o
+ $(LD) -o $@ safe.o readpassphrase.o $(LDFLAGS) $(LDLIBS)
+
safe-agent: safe-agent.o
+ $(LD) -o $@ $< $(LDFLAGS) $(LDLIBS)
clean:
rm -f *.o safe safe-agent
t@@ -30,7 +33,7 @@ install: safe safe-agent
chmod 644 ${DESTDIR}${MANPREFIX}/man1/safe-agent.1
-uninstall::
+uninstall:
rm ${DESTDIR}${PREFIX}/bin/safe
rm ${DESTDIR}${PREFIX}/bin/safe-agent
rm ${DESTDIR}${MANPREFIX}/man1/safe.1