lnsocket

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

commit 8d5bcde61725eb14978d4a99c0259e1efebfdeca
parent 40911ed4a715f13adb18f13949839a58f64dc18e
Author: William Casarin <jb55@jb55.com>
Date:   Tue, 29 Mar 2022 10:55:31 -0700

ios: depend on all headers instead of just config.h

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

Diffstat:
MMakefile | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -66,15 +66,15 @@ target/ios/lnsocket.a: target/x86_64/lnsocket.a target/arm64/lnsocket.a @mkdir -p target/ios lipo -create $^ -output $@ -%-arm64.o: %.c config.h +%-arm64.o: %.c $(HEADERS) @echo "cc $@" @$(CC) $(CFLAGS) -c $< -o $@ -arch arm64 -isysroot $(IOS_SDK) -target arm64-apple-ios -fembed-bitcode -%-wasm.o: %.c config.h +%-wasm.o: %.c $(HEADERS) @echo "emcc $@" @emcc $(CFLAGS) -c $< -o $@ -%-x86_64.o: %.c config.h +%-x86_64.o: %.c $(HEADERS) @echo "cc $@" @$(CC) $(CFLAGS) -c $< -o $@ -arch x86_64 -isysroot $(SIM_SDK) -mios-simulator-version-min=6.0.0 -target x86_64-apple-ios-simulator