npm

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/npm
Log | Files | Refs

commit 37026ac2281f78c9fb867f13ab8e1534ff8bdb4e
parent 3b2ab9b73c2cb1dc289aeea9f1dc0bf71459f0a3
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Fri, 30 Jul 2021 10:13:06 -0500

add Makefile

Diffstat:
AMakefile | 15+++++++++++++++
1 file changed, 15 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -0,0 +1,15 @@ +LIBS = argon2/argon2.a +SRC = chacha20.c npwm.c util.c +OBJ = $(SRC:%.c=%.o) +EXE = npwm-core + +$(EXE): $(LIBS) $(OBJ) + $(CC) $(OBJ) $(LIBS) -o $@ + +.c.o: + $(CC) -c $< -o $@ + +include argon2/Makefile + +clean: argon2-clean + rm -f $(OBJ) $(EXE)