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.
15 all: bin
/server bin
/tinks
18 bin
/tinks
: assets
/images
/drawing.png src
/client
/client_serialize.nit
$(shell ..
/..
/bin
/nitls
-M src
/client
/linux_client.nit
)
19 ..
/..
/bin
/nitc
-o bin
/tinks src
/client
/linux_client.nit
-m src
/client
/client_serialize.nit
21 src
/client
/client_serialize.nit
: $(shell ..
/..
/bin
/nitls
-M src
/client
/client.nit
)
22 ..
/..
/bin
/nitserial
-o src
/client
/client_serialize.nit src
/client
/client.nit
24 assets
/images
/drawing.png
: art
/drawing.svg
25 ..
/inkscape_tools
/bin
/svg_to_png_and_nit art
/drawing.svg
-a assets
/ -s src
/client
/ -x
2.0
28 bin
/server
: src
/server
/server_serialize.nit
$(shell ..
/..
/bin
/nitls
-M src
/server
/dedicated.nit
)
29 ..
/..
/bin
/nitc
-o bin
/server src
/server
/dedicated.nit
-m src
/server
/server_serialize.nit
31 src
/server
/server_serialize.nit
: $(shell ..
/..
/bin
/nitls
-M src
/server
/dedicated.nit
)
32 ..
/..
/bin
/nitserial
-o src
/server
/server_serialize.nit src
/server
/dedicated.nit
35 bin
/tinks.apk
: assets
/images
/drawing.png src
/client
/client_serialize.nit res
/drawable-ldpi
/icon.png
$(shell ..
/..
/bin
/nitls
-M src
/client
/android_client.nit
)
36 ..
/..
/bin
/nitc
-o bin
/tinks.apk src
/client
/android_client.nit
-m src
/client
/client_serialize.nit
--compile-dir nit_compile
37 adb
install -r bin
/tinks.apk
39 res
/drawable-ldpi
/icon.png
: art
/icon.svg
40 ..
/inkscape_tools
/bin
/svg_to_icons art
/icon.svg
--android
--out res
/
43 pub
: assets
/images
/drawing.png src
/client
/client_serialize.nit bin
/tinks.apk
44 ..
/..
/bin
/nitc
--no-stacktrace
-o bin
/tinks src
/client
/linux_client.nit
-m src
/client
/client_serialize.nit
45 tar -czvf bin
/tinks.
tar.gz bin
/tinks assets
/
46 scp bin
/tinks.
tar.gz bin
/tinks.apk xymus.net
:/var
/www
/pub
/