summaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorPrzemyslaw <prymula76@outlook.com>2024-04-01 09:01:24 +0200
committerPrzemyslaw <prymula76@outlook.com>2024-04-01 09:01:24 +0200
commit18e499686d1c9991b65dc79272038b291bc14c5d (patch)
tree00b9d71f9c609e5e6fe990ea937822c3768032c9 /makefile
Init
Diffstat (limited to 'makefile')
-rw-r--r--makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..ed10fc2
--- /dev/null
+++ b/makefile
@@ -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/ColorsMemory.jar
+ install -m 0755 build/jar/ColorsMemory.jar $(prefix)/games
+ mkdir -pm 0777 $(prefix)/share/colorsmemory_jar
+ mkdir -pm 0777 $(prefix)/share/colorsmemory_jar/icons
+ install -m 0755 colorsmemory.png $(prefix)/share/colorsmemory_jar/icons
+ install -m 0755 ColorsMemory.desktop /usr/share/applications
+
+.PHONY: install