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
/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 android
/res
/ $(shell ..
/..
/bin
/nitls
-M src
/client
/android_client.nit
)
42 ..
/..
/bin
/nitserial
-o src
/client
/client_serialize.nit src
/client
/client.nit
43 ..
/..
/bin
/nitc
-o bin
/tinks.apk src
/client
/android_client.nit
-m src
/client
/client_serialize.nit
45 android-release
: assets
/images
/drawing.png android
/res
/ $(shell ..
/..
/bin
/nitls
-M src
/client
/android_client.nit
)
46 ..
/..
/bin
/nitserial
-o src
/client
/client_serialize.nit src
/client
/client.nit
47 ..
/..
/bin
/nitc
-o bin
/tinks.apk src
/client
/android_client.nit
-m src
/client
/client_serialize.nit
--release
49 android
/res
/: art
/icon.svg
50 ..
/inkscape_tools
/bin
/svg_to_icons art
/icon.svg
--android
--out android
/res
/