annotate kopieckreta/makefile @ 17:e9c503d896a6

flappyufo-0.230919-1_add_pkgbuild
author Przemyslaw <prymula76@outlook.com>
date Sat, 24 Feb 2024 17:47:35 +0100
parents 2787f5e749ae
children
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/local
prymula <prymula76@outlook.com>
parents:
diff changeset
11
prymula <prymula76@outlook.com>
parents:
diff changeset
12 install: build/jar/KopiecKreta.jar
prymula <prymula76@outlook.com>
parents:
diff changeset
13 install -m 0755 build/jar/KopiecKreta.jar $(prefix)/games
prymula <prymula76@outlook.com>
parents:
diff changeset
14 mkdir -pm 0777 $(prefix)/share/kopieckreta
prymula <prymula76@outlook.com>
parents:
diff changeset
15 mkdir -pm 0777 $(prefix)/share/kopieckreta/icons
prymula <prymula76@outlook.com>
parents:
diff changeset
16 install -m 0755 KopiecKreta.png $(prefix)/share/kopieckreta/icons
prymula <prymula76@outlook.com>
parents:
diff changeset
17 install -m 0755 KopiecKreta.desktop /usr/share/applications
prymula <prymula76@outlook.com>
parents:
diff changeset
18
prymula <prymula76@outlook.com>
parents:
diff changeset
19 .PHONY: install