annotate immposiblerush/Makefile @ 2:cf2cb71d31dd

immposiblerush-0.230919-0.2
author prymula <prymula76@outlook.com>
date Tue, 26 Sep 2023 21:50:44 +0200
parents 2787f5e749ae
children bb29f1c89c99
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
prymula <prymula76@outlook.com>
parents:
diff changeset
1 # Link command:
prymula <prymula76@outlook.com>
parents:
diff changeset
2 #choinka: engin.o
prymula <prymula76@outlook.com>
parents:
diff changeset
3 # gcc engin.o -o choinka
prymula <prymula76@outlook.com>
parents:
diff changeset
4
prymula <prymula76@outlook.com>
parents:
diff changeset
5 # Compilation commands:
prymula <prymula76@outlook.com>
parents:
diff changeset
6 #engin.o: engin.c
prymula <prymula76@outlook.com>
parents:
diff changeset
7 # gcc -c engin.c -o engin.o
prymula <prymula76@outlook.com>
parents:
diff changeset
8
prymula <prymula76@outlook.com>
parents:
diff changeset
9
prymula <prymula76@outlook.com>
parents:
diff changeset
10 prefix=/usr
prymula <prymula76@outlook.com>
parents:
diff changeset
11
prymula <prymula76@outlook.com>
parents:
diff changeset
12 all:
prymula <prymula76@outlook.com>
parents:
diff changeset
13 ant compile
prymula <prymula76@outlook.com>
parents:
diff changeset
14 ant jar
prymula <prymula76@outlook.com>
parents:
diff changeset
15
prymula <prymula76@outlook.com>
parents:
diff changeset
16 clean:
prymula <prymula76@outlook.com>
parents:
diff changeset
17 ant clean
prymula <prymula76@outlook.com>
parents:
diff changeset
18
prymula <prymula76@outlook.com>
parents:
diff changeset
19 install: build/jar/ImmposibleRush.jar
prymula <prymula76@outlook.com>
parents:
diff changeset
20 mkdir -pm 0755 $(prefix)/games
prymula <prymula76@outlook.com>
parents:
diff changeset
21 install -m 0644 build/jar/ImmposibleRush.jar $(prefix)/games
prymula <prymula76@outlook.com>
parents:
diff changeset
22 mkdir -pm 0755 $(prefix)/share/immposiblerush
prymula <prymula76@outlook.com>
parents:
diff changeset
23
prymula <prymula76@outlook.com>
parents:
diff changeset
24 install -m 0644 res/immposiblerush.png $(prefix)/share/immposiblerush
prymula <prymula76@outlook.com>
parents:
diff changeset
25 install -m 0755 ImmposibleRush.desktop /usr/share/applications
prymula <prymula76@outlook.com>
parents:
diff changeset
26
prymula <prymula76@outlook.com>
parents:
diff changeset
27 .PHONY: install