commit 98b712700b94573bb3c4bbae87c145f0e3aa840b
parent 981ca5441b5efaec5b2a52704d0d5dc79d2a9cbc
Author: William Casarin <jb55@jb55.com>
Date: Thu, 14 Apr 2022 08:14:13 -0700
fix makefile
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -4,6 +4,10 @@ HEADERS = hex.h random.h config.h sha256.h
all: nostril
+%.o: %.c config.h
+ @echo "cc $<"
+ @$(CC) -c $< -o $@
+
nostril: $(HEADERS) $(OBJS)
$(CC) $(OBJS) -lsecp256k1 -o $@