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
10 bin
/scientific_calculator
: $(shell ${NITLS} -M src
/scientific_calculator.nit linux
) ${NITC}
12 ${NITC} -o
$@ src
/scientific_calculator.nit
-m linux
17 android
: bin
/calculator.apk
19 bin
/calculator.apk
: $(shell ${NITLS} -M src
/scientific_calculator.nit src
/android_calculator.nit
) ${NITC} android
/res
/
21 ${NITC} -o
$@ src
/scientific_calculator.nit
-m src
/android_calculator.nit
-D debug
23 android-release
: $(shell ${NITLS} -M src
/scientific_calculator.nit src
/android_calculator.nit
) ${NITC} android
/res
/
25 ${NITC} -o bin
/calculator.apk src
/scientific_calculator.nit
-m src
/android_calculator.nit
--release
27 android
/res
/: art
/icon.svg ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons
29 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons art
/icon.svg
--android
--out android
/res
/
31 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons
:
32 make
-C ..
/..
/contrib
/inkscape_tools
/
34 android-install
: bin
/calculator.apk
35 adb
install -r bin
/calculator.apk
40 bin
/calculator.app
: $(shell ${NITLS} -M src
/scientific_calculator.nit src
/ios_calculator.nit
) ${NITC} ios
/AppIcon.appiconset
/Contents.json
42 ${NITC} -o
$@ src
/scientific_calculator.nit
-m src
/ios_calculator.nit
-D debug
44 ios
/AppIcon.appiconset
/Contents.json
: art
/icon-ios.svg
46 ..
/..
/contrib
/inkscape_tools
/bin
/svg_to_icons art
/icon-ios.svg
--ios
--out ios
/AppIcon.appiconset
/
51 bin
/test: $(shell ${NITLS} -M src
/calculator_test.nit
) ${NITC}
53 ${NITC} -o
$@ src
/calculator_test.nit