fbe8155274eae429e144570e95e7251b154d7171
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 bin
/tinks3d
17 pre-build
: assets
/images
/drawing.png src
/client
/client_serialize.nit src
/server
/server_serialize.nit
20 bin
/tinks
: assets
/images
/drawing.png src
/client
/client.nit
$(shell ..
/..
/bin
/nitls
-M src
/client
/linux_client.nit
)
21 ..
/..
/bin
/nitserial
-o src
/client
/client_serialize.nit src
/client
/client.nit
22 ..
/..
/bin
/nitc
-o bin
/tinks src
/client
/linux_client.nit
-m src
/client
/client_serialize.nit
24 bin
/tinks3d
: $(shell ..
/..
/bin
/nitls
-M src
/client
/client3d.nit
-m linux
)
25 ..
/..
/bin
/nitserial
-o src
/client
/client_serialize.nit src
/client
/client3d.nit
26 ..
/..
/bin
/nitc
-o bin
/tinks3d src
/client
/client3d.nit \
27 -m src
/client
/client_serialize.nit
-m linux
29 assets
/images
/drawing.png
: art
/drawing.svg
30 ..
/inkscape_tools
/bin
/svg_to_png_and_nit art
/drawing.svg
-a assets
/ -s src
/client
/ -x
2.0
33 bin
/server
: src
/server
/server_serialize.nit
$(shell ..
/..
/bin
/nitls
-M src
/server
/dedicated.nit
)
34 ..
/..
/bin
/nitc
-o bin
/server src
/server
/dedicated.nit
-m src
/server
/server_serialize.nit
36 src
/server
/server_serialize.nit
: $(shell ..
/..
/bin
/nitls
-M src
/server
/dedicated.nit
)
37 ..
/..
/bin
/nitserial
-o src
/server
/server_serialize.nit src
/server
/dedicated.nit
40 android
: bin
/tinks.apk
41 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
)
42 ..
/..
/bin
/nitc
-o bin
/tinks.apk src
/client
/android_client.nit
-m src
/client
/client_serialize.nit
44 android-release
: assets
/images
/drawing.png src
/client
/client_serialize.nit res
/drawable-ldpi
/icon.png
$(shell ..
/..
/bin
/nitls
-M src
/client
/android_client.nit
)
45 ..
/..
/bin
/nitc
-o bin
/tinks.apk src
/client
/android_client.nit
-m src
/client
/client_serialize.nit
--release
47 res
/drawable-ldpi
/icon.png
: art
/icon.svg
48 ..
/inkscape_tools
/bin
/svg_to_icons art
/icon.svg
--android
--out res
/
51 pub
: assets
/images
/drawing.png src
/client
/client_serialize.nit bin
/tinks.apk
52 ..
/..
/bin
/nitc
--no-stacktrace
-o bin
/tinks src
/client
/linux_client.nit
-m src
/client
/client_serialize.nit
53 tar -czvf bin
/tinks.
tar.gz bin
/tinks assets
/
54 scp bin
/tinks.
tar.gz bin
/tinks.apk xymus.net
:/var
/www
/pub
/