aboutsummaryrefslogtreecommitdiffstats
path: root/os/linux
diff options
context:
space:
mode:
Diffstat (limited to 'os/linux')
-rw-r--r--os/linux/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/os/linux/Makefile b/os/linux/Makefile
new file mode 100644
index 0000000..0a95d72
--- /dev/null
+++ b/os/linux/Makefile
@@ -0,0 +1,22 @@
+yetihack:
+ cd src && make
+
+package:
+ make clean
+ zip package/yetihack-source.zip ../YetiHack
+ make yetihack
+ strip src/yetihack
+ sudo chown root:root src/yetihack
+ dpkg-deb --build os/debian/deb package/yetihack.deb
+ cd package && sudo alien -r yetihack.deb
+ zip package/yetihack.zip src/yetihack
+
+install: yetihack
+ cp src/yetihack /usr/local/bin/
+
+clean:
+ -rm src/*.o
+ -rm src/yetihack
+ -rm os/package/yetihack.deb
+ -rm os/package/*.rpm
+