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} android
/res
/
17 ${NITC} -o
$@ src
/calculator.nit
-m ..
/..
/lib
/android
/ui
/ -D debug
19 android-release
: $(shell ${NITLS} -M src
/calculator.nit android
) ${NITC} android
/res
/
21 ${NITC} -o bin
/calculator.apk src
/calculator.nit
-m ..
/..
/lib
/android
/ui
/ --release
23 android
/res
/: art
/icon.svg ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons
25 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons art
/icon.svg
--android
--out android
/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} ios
/AppIcon.appiconset
/Contents.json
38 ${NITC} -o
$@ src
/calculator.nit
-m ios
-D debug
40 ios
/AppIcon.appiconset
/Contents.json
: art
/icon-ios.svg
42 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons art
/icon-ios.svg
--ios
--out ios
/AppIcon.appiconset
/
47 bin
/test: $(shell ${NITLS} -M src
/calculator_test.nit
) ${NITC}
49 ${NITC} -o
$@ src
/calculator_test.nit