From 98b712700b94573bb3c4bbae87c145f0e3aa840b Mon Sep 17 00:00:00 2001 From: William Casarin Date: Thu, 14 Apr 2022 08:14:13 -0700 Subject: [PATCH] fix makefile Signed-off-by: William Casarin --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index b71bd7b..9ba6906 100644 --- 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 $@