comparison immposiblerush/Makefile @ 7:bb29f1c89c99

immposiblerush-0.230919-0_PKG
author prymula <prymula76@outlook.com>
date Thu, 01 Feb 2024 21:49:30 +0100
parents 2787f5e749ae
children 923377f8ebcb
comparison
equal deleted inserted replaced
6:542e305f23f4 7:bb29f1c89c99
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 1 prefix=/usr
11 2
12 all: 3 all:
13 ant compile 4 ant compile
14 ant jar 5 ant jar
18 9
19 install: build/jar/ImmposibleRush.jar 10 install: build/jar/ImmposibleRush.jar
20 mkdir -pm 0755 $(prefix)/games 11 mkdir -pm 0755 $(prefix)/games
21 install -m 0644 build/jar/ImmposibleRush.jar $(prefix)/games 12 install -m 0644 build/jar/ImmposibleRush.jar $(prefix)/games
22 mkdir -pm 0755 $(prefix)/share/immposiblerush 13 mkdir -pm 0755 $(prefix)/share/immposiblerush
14 mkdir -pm 0755 $(prefix)/share/applications
23 15
24 install -m 0644 res/immposiblerush.png $(prefix)/share/immposiblerush 16 install -m 0644 res/immposiblerush.png $(prefix)/share/immposiblerush
25 install -m 0755 ImmposibleRush.desktop /usr/share/applications 17 install -m 0644 ImmposibleRush.desktop $(prefix)/share/applications
26 18
27 .PHONY: install 19 .PHONY: install