clightning-dumpkeys

dump clightning output descriptors
git clone git://jb55.com/clightning-dumpkeys
Log | Files | Refs | README | LICENSE

Makefile (575B)


      1 
      2 BIN = clightning-dumpkeys
      3 PREFIX ?= /usr/local
      4 
      5 LDFLAGS = -lsecp256k1
      6 CFLAGS = $(DEFS) -DHAVE_LITTLE_ENDIAN -O2 -g -I src -Wall -Werror -Wextra -std=c99
      7 
      8 OBJS  = sha256.o
      9 OBJS += sha512.o
     10 OBJS += ripemd160.o
     11 OBJS += hmac.o
     12 OBJS += hkdf.o
     13 OBJS += bip32.o
     14 OBJS += compiler.o
     15 OBJS += ec.o
     16 OBJS += hash.o
     17 OBJS += base58.o
     18 OBJS += descriptor.o
     19 
     20 SRCS=$(OBJS:.o=.c)
     21 
     22 all: $(BIN)
     23 
     24 $(BIN): clightning-dumpkeys.o $(OBJS)
     25 	$(CC) $(LDFLAGS) $(CFLAGS) $^ -o $@
     26 
     27 clean:
     28 	rm -f $(OBJS) clightning-dumpkeys.o check.o $(BIN) check
     29 
     30 check: check.o $(OBJS)
     31 	$(CC) $(LDFLAGS) $^ -o $@
     32 	./check