fix makefile

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin 2022-04-14 08:14:13 -07:00
parent 981ca5441b
commit 98b712700b
1 changed files with 4 additions and 0 deletions

View File

@ -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 $@