aboutsummaryrefslogtreecommitdiffstats
path: root/os/linux/Makefile
diff options
context:
space:
mode:
authorRay Hogenson <rayhogenson@gmail.com>2012-01-10 15:15:55 -0900
committerRay Hogenson <rayhogenson@gmail.com>2012-01-10 15:15:55 -0900
commitae0551652fa132bb512638433189c1290933164e (patch)
tree3758bb5844b0b413c848308451f0da224b0076bf /os/linux/Makefile
downloadyetihack-ae0551652fa132bb512638433189c1290933164e.tar.zst
wrong directory
Diffstat (limited to 'os/linux/Makefile')
-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
+