lnsocket

A minimal C library for connecting to the lightning network
git clone git://jb55.com/lnsocket
Log | Files | Refs | Submodules | README | LICENSE

commit c0ae302f0b6492bc07c3b58bb22cef43ee96d3da
parent a2dbada310e9850407ae82515b7cbda07b44d12b
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 15 Jul 2022 12:55:54 -0700

simplify dist

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
MMakefile | 12++++--------
1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile @@ -25,8 +25,12 @@ all: $(BINS) $(ARS) ios: target/ios/lnsocket.a target/ios/libsodium.a target/ios/libsecp256k1.a js: target/js/lnsocket.js target/js/lnsocket.wasm + @mkdir -p dist/js + cp target/js/lnsocket.wasm target/js/lnsocket.js dist/js node: target/node/lnsocket.js target/node/lnsocket.wasm + @mkdir -p dist/node + cp target/node/lnsocket.wasm target/node/lnsocket.js dist/node liblnsocket.a: lnsocket.a cp lnsocket.a liblnsocket.a @@ -169,14 +173,6 @@ install-js: js mkdir -p $(PREFIX)/share/lnsocket cp target/js/lnsocket.wasm target/js/lnsocket.js $(PREFIX)/share/lnsocket -dist-node: node - @mkdir -p dist/node - cp target/node/lnsocket.wasm target/node/lnsocket.js dist/node - -dist-js: js - @mkdir -p dist/js - cp target/js/lnsocket.wasm target/js/lnsocket.js dist/js - install-all: install install-js check: ctest