diff kopieckreta/makefile @ 0:2787f5e749ae

INIT
author prymula <prymula76@outlook.com>
date Thu, 21 Sep 2023 22:33:57 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/kopieckreta/makefile	Thu Sep 21 22:33:57 2023 +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/local
+    
+install: build/jar/KopiecKreta.jar
+	install -m 0755 build/jar/KopiecKreta.jar $(prefix)/games
+	mkdir -pm 0777 $(prefix)/share/kopieckreta
+	mkdir -pm 0777 $(prefix)/share/kopieckreta/icons
+	install -m 0755 KopiecKreta.png $(prefix)/share/kopieckreta/icons
+	install -m 0755 KopiecKreta.desktop /usr/share/applications
+    
+.PHONY: install