diff colorsmemory/Makefile @ 19:fff7215ba1e8

package for arch
author Przemyslaw <prymula76@outlook.com>
date Sun, 31 Mar 2024 16:10:46 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/colorsmemory/Makefile	Sun Mar 31 16:10:46 2024 +0200
@@ -0,0 +1,19 @@
+# Link command:
+#choinka: engin.o
+#	gcc engin.o -o choinka
+    
+# Compilation commands:
+#engin.o: engin.c
+#	gcc -c engin.c -o engin.o
+
+
+prefix=/usr
+    
+install: build/jar/ColorsMemory.jar
+	install -m 0644 build/jar/ColorsMemory.jar $(prefix)/games
+	mkdir -pm 0755 $(prefix)/share/colorsmemory
+	mkdir -pm 0755 $(prefix)/share/colorsmemory/icons
+	install -m 0644 colorsmemory.png $(prefix)/share/colorsmemory/icons
+	install -m 0644 ColorsMemory.desktop /usr/share/applications
+    
+.PHONY: install