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..8242eef
--- /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/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