annotate immposiblerush/Makefile @ 5:0c50890ef159

flappyufo-0.230919-1
author prymula <prymula76@outlook.com>
date Wed, 31 Jan 2024 13:23:13 +0100
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