4 all: bin
/calculator bin
/calculator.apk bin
/test
6 bin
/calculator
: $(shell ${NITLS} -M src
/calculator.nit ..
/..
/lib
/linux
/ui.nit
) ${NITC}
8 ${NITC} -o
$@ src
/calculator.nit
-m ..
/..
/lib
/linux
/ui.nit
10 bin
/calculator.apk
: $(shell ${NITLS} -M src
/calculator.nit ..
/..
/lib
/android
/ui
/) ${NITC} ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons
12 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons art
/icon.svg
--android
--out res
/
13 ${NITC} -o
$@ src
/calculator.nit
-m ..
/..
/lib
/android
/ui
/
15 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons
:
16 make
-C ..
/..
/contrib
/inkscape_tools
/
18 android-install
: bin
/calculator.apk
19 adb
install -r bin
/calculator.apk
21 bin
/test: $(shell ${NITLS} -M src
/calculator_test.nit
) ${NITC}
23 ${NITC} -o
$@ src
/calculator_test.nit