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..b9db164
--- /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
+
+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