1 # This file is part of NIT ( http://www.nitlanguage.org ).
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
17 pre-build
: assets
/images
/drawing.png
19 bin
/memory
: assets
/images
/drawing.png src
/*.nit
21 ..
/..
/bin
/nitc
-o bin
/memory src
/memory.nit
-m ..
/..
/lib
/mnit
/linux
/linux.nit
23 assets
/images
/drawing.png
: art
/drawing.svg
24 mkdir
-p assets
/images
/
25 ..
/inkscape_tools
/bin
/svg_to_png_and_nit art
/drawing.svg
-a assets
/ -s src
/ -x
4
27 android
/res
/: art
/icon.svg
29 ..
/inkscape_tools
/bin
/svg_to_icons art
/icon.svg
--android
--out android
/res
/
31 android
: bin
/memory.apk
32 bin
/memory.apk
: assets
/images
/drawing.png src
/*.nit android
/res
/
34 ..
/..
/bin
/nitc
-o bin
/memory.apk src
/memory.nit
-m ..
/..
/lib
/mnit
/android
/android.nit
-m ..
/..
/lib
/android
/landscape.nit
36 android-release
: assets
/images
/drawing.png src
/*.nit android
/res
/
38 ..
/..
/bin
/nitc
-o bin
/memory.apk src
/memory.nit
-m ..
/..
/lib
/mnit
/android
/android.nit
-m ..
/..
/lib
/android
/landscape.nit
--release