0
|
1 # Link command:
|
|
2 #choinka: engin.o
|
|
3 # gcc engin.o -o choinka
|
|
4
|
|
5 # Compilation commands:
|
|
6 #engin.o: engin.c
|
|
7 # gcc -c engin.c -o engin.o
|
|
8
|
|
9
|
|
10 prefix=/usr
|
|
11
|
|
12 all:
|
|
13 ant compile
|
|
14 ant jar
|
|
15
|
|
16 clean:
|
|
17 ant clean
|
|
18
|
|
19 install: build/jar/ImmposibleRush.jar
|
|
20 mkdir -pm 0755 $(prefix)/games
|
|
21 install -m 0644 build/jar/ImmposibleRush.jar $(prefix)/games
|
|
22 mkdir -pm 0755 $(prefix)/share/immposiblerush
|
|
23
|
|
24 install -m 0644 res/immposiblerush.png $(prefix)/share/immposiblerush
|
|
25 install -m 0755 ImmposibleRush.desktop /usr/share/applications
|
|
26
|
|
27 .PHONY: install
|