mirror of
https://github.com/jb55/nostril.git
synced 2025-05-13 02:39:56 -04:00
23 lines
469 B
Makefile
23 lines
469 B
Makefile
|
|
OBJS = sha256.o nostril.o
|
|
HEADERS = hex.h random.h config.h sha256.h
|
|
|
|
all: nostril
|
|
|
|
nostril: $(OBJS) $(HEADERS)
|
|
$(CC) $(OBJS) -lsecp256k1 -o $@
|
|
|
|
config.h: configurator
|
|
./configurator > $@
|
|
|
|
configurator: configurator.c
|
|
$(CC) $< -o $@
|
|
|
|
clean:
|
|
rm -f nostril *.o
|
|
|
|
tags: fake
|
|
ctags *.c *.h
|
|
|
|
.PHONY: fake
|