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

View File

@ -4,6 +4,10 @@ HEADERS = hex.h random.h config.h sha256.h
all: nostril all: nostril
%.o: %.c config.h
@echo "cc $<"
@$(CC) -c $< -o $@
nostril: $(HEADERS) $(OBJS) nostril: $(HEADERS) $(OBJS)
$(CC) $(OBJS) -lsecp256k1 -o $@ $(CC) $(OBJS) -lsecp256k1 -o $@