npm

Nihal's Password Manager (WIP)
git clone git://git.nihaljere.xyz/npm
Log | Files | Refs | LICENSE

commit ba1daa587d4ad3057c54099d5f410f2bc32ba2ca
parent ec4661bf7b1919afb36772a3ed810455bb95ba87
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Tue,  7 Sep 2021 12:19:42 -0500

add install target

Diffstat:
MMakefile | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,3 +1,7 @@ + +.PHONY: all clean install + +PREFIX = /usr/local LIBS = argon2/argon2.a SRC = chacha20.c npm.c util.c OBJ = $(SRC:%.c=%.o) @@ -16,6 +20,9 @@ npmc: npmc.o .c.o: $(CC) -c $< -o $@ +install: + install -Dm755 -t $(DESTDIR)$(PREFIX)/bin npm npm-core npmc npm-agent + include argon2/Makefile clean: argon2-clean