You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cyberwow/Makefile

32 lines
692 B

5 years ago
watch:
find cyberwow/lib/ -name '*.dart' | \
entr kill -USR1 `cat /tmp/flutter.pid`
run:
cd cyberwow && \
flutter run --pid-file /tmp/flutter.pid
# clang -target aarch64-linux-android21 cyberwow/native/hello.c -o cyberwow/native/output/hello
c:
5 years ago
clang -target x86_64-linux-android21 cyberwow/native/hello.c -o cyberwow/native/output/x86_64/wownerod
5 years ago
5 years ago
build-c: c
cd cyberwow && \
flutter clean
5 years ago
push:
adb push cyberwow/native/output/hello /data/local/tmp
test-android:
adb shell /data/local/tmp/hello
test-c: c push test-android
5 years ago
collect:
cp ../vendor/wownero/bin/wownerod cyberwow/native/output/arm64/
5 years ago
build:
cd cyberwow && \
flutter build apk --target-platform android-arm64