annotate colorsmemory/Makefile @ 21:bef3b1af6326

trix - package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 22:14:33 +0200
parents fff7215ba1e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
19
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
1 # Link command:
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
2 #choinka: engin.o
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
3 # gcc engin.o -o choinka
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
4
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
5 # Compilation commands:
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
6 #engin.o: engin.c
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
7 # gcc -c engin.c -o engin.o
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
8
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
9
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
10 prefix=/usr
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
11
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
12 install: build/jar/ColorsMemory.jar
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
13 install -m 0644 build/jar/ColorsMemory.jar $(prefix)/games
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
14 mkdir -pm 0755 $(prefix)/share/colorsmemory
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
15 mkdir -pm 0755 $(prefix)/share/colorsmemory/icons
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
16 install -m 0644 colorsmemory.png $(prefix)/share/colorsmemory/icons
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
17 install -m 0644 ColorsMemory.desktop /usr/share/applications
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
18
fff7215ba1e8 package for arch
Przemyslaw <prymula76@outlook.com>
parents:
diff changeset
19 .PHONY: install