comparison immposiblerush/Makefile @ 0:2787f5e749ae

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:33:57 +0200
parents
children bb29f1c89c99
comparison
equal deleted inserted replaced
-1:000000000000 0:2787f5e749ae
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