4 all: bin
/calculator bin
/test
6 bin
/calculator
: $(shell ${NITLS} -M src
/calculator.nit linux
) ${NITC}
8 ${NITC} -o
$@ src
/calculator.nit
-m linux
13 android
: bin
/calculator.apk
15 bin
/calculator.apk
: $(shell ${NITLS} -M src
/calculator.nit android
) ${NITC} res
/drawable-ldpi
/icon.png
17 ${NITC} -o
$@ src
/calculator.nit
-m ..
/..
/lib
/android
/ui
/ -D debug
19 android-release
: $(shell ${NITLS} -M src
/calculator.nit android
) ${NITC} res
/drawable-ldpi
/icon.png
21 ${NITC} -o bin
/calculator.apk src
/calculator.nit
-m ..
/..
/lib
/android
/ui
/ --release
23 res
/drawable-ldpi
/icon.png
: art
/icon.svg ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons
25 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons art
/icon.svg
--android
--out res
/
27 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons
:
28 make
-C ..
/..
/contrib
/inkscape_tools
/
30 android-install
: bin
/calculator.apk
31 adb
install -r bin
/calculator.apk
36 bin
/calculator.app
: $(shell ${NITLS} -M src
/calculator.nit ios
) ${NITC}
38 ${NITC} -o
$@ src
/calculator.nit
-m ios
-D debug
43 bin
/test: $(shell ${NITLS} -M src
/calculator_test.nit
) ${NITC}
45 ${NITC} -o
$@ src
/calculator_test.nit