1
0
mirror of http://galexander.org/git/simplesshd.git synced 2024-11-30 11:18:12 +00:00

only rebuild default_options_guard.h if necessary

This commit is contained in:
Greg Alexander 2019-08-10 20:27:19 -04:00
parent 72a4a088bd
commit 39705de36e

4
doit
View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/bash
instlib() { instlib() {
for i in `ls libs` for i in `ls libs`
@ -8,7 +8,7 @@ instlib() {
done done
} }
dropbear/ifndef_wrapper.sh < dropbear/default_options.h > dropbear/default_options_guard.h && [ dropbear/default_options.h -nt dropbear/default_options_guard.h ] && dropbear/ifndef_wrapper.sh < dropbear/default_options.h > dropbear/default_options_guard.h
~/Android/Sdk/ndk-bundle/ndk-build -j8 && ~/Android/Sdk/ndk-bundle/ndk-build -j8 &&
mkdir -p app/src/main/lib/armeabi-v7a && mkdir -p app/src/main/lib/armeabi-v7a &&
instlib scp libscp.so && instlib scp libscp.so &&