mkdir -p bin
../../bin/nitg --global -o bin/dino src/dino_linux.nit
+android:
+ mkdir -p bin
+ ../../bin/nitg --global --no-stacktrace -o bin/dino.apk src/dino_android.nit
+
doc:
mkdir -p doc
../../bin/nitdoc -d doc/ src/dino.nit src/dino_linux.nit
--- /dev/null
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# Copyright 2012-2013 Alexis Laferrière <alexis.laf@xymus.net>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+module dino_android
+
+import dino
+
+import mnit_android
+
+redef class ImageSet
+ redef fun start_over_path do return "images/play_again_mobile.png"
+end
+
+redef class SplashScreen
+ redef fun splash_play_path do return "images/splash_play_mobile.png"
+end
+
+super
mkdir -p bin
../../bin/nitg --global -o bin/moles src/moles_linux.nit
+android:
+ mkdir -p bin
+ ../../bin/nitg --global --no-stacktrace -o bin/moles.apk src/moles_android.nit
+
clean:
rm -rf bin
--- /dev/null
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# Copyright 2012-2014 Alexis Laferrière <alexis.laf@xymus.net>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+module moles_android
+
+import moles
+import mnit_android
+
+super
mkdir -p bin
../../bin/nitg --global -o bin/simple src/simple_linux.nit
+android:
+ mkdir -p bin
+ ../../bin/nitg --global --no-stacktrace -o bin/simple.apk src/simple_android.nit
+
clean:
rm -rf bin
--- /dev/null
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# Copyright 2012-2014 Alexis Laferrière <alexis.laf@xymus.net>
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+module simple_android
+
+import simple
+import mnit_android
+
+super