summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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