diff Jttt/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/Jttt/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/Jttt.jar
+	install -m 0755 build/jar/Jttt.jar $(prefix)/games
+	mkdir -pm 0777 $(prefix)/share/jttt
+	mkdir -pm 0777 $(prefix)/share/jttt/icons
+	install -m 0755 jttt.png $(prefix)/share/jttt/icons
+	install -m 0755 Jttt.desktop /usr/share/applications
+    
+.PHONY: install