4 all: bin
/calculator bin
/test
6 bin
/calculator
: $(shell ${NITLS} -M src
/calculator.nit
-m linux
) ${NITC}
8 ${NITC} -o
$@ src
/calculator.nit
-m linux
10 android
: bin
/calculator.apk
12 bin
/calculator.apk
: $(shell ${NITLS} -M src
/calculator.nit
-m android
) ${NITC} res
/drawable-ldpi
/icon.png
14 ${NITC} -o
$@ src
/calculator.nit
-m ..
/..
/lib
/android
/ui
/ -D debug
16 android-release
: $(shell ${NITLS} -M src
/calculator.nit
-m android
) ${NITC} res
/drawable-ldpi
/icon.png
18 ${NITC} -o bin
/calculator.apk src
/calculator.nit
-m ..
/..
/lib
/android
/ui
/ --release
20 res
/drawable-ldpi
/icon.png
: art
/icon.svg ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons
22 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons art
/icon.svg
--android
--out res
/
24 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons
:
25 make
-C ..
/..
/contrib
/inkscape_tools
/
27 android-install
: bin
/calculator.apk
28 adb
install -r bin
/calculator.apk
30 bin
/test: $(shell ${NITLS} -M src
/calculator_test.nit
) ${NITC}
32 ${NITC} -o
$@ src
/calculator_test.nit