aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorRay Hogenson <rayhogenson@gmail.com>2012-03-26 15:12:04 -0800
committerRay Hogenson <rayhogenson@gmail.com>2012-03-26 15:12:04 -0800
commitadc79032764885b4701e33a874487ebd74d9657d (patch)
tree0a8bda8875c594f4df91ce9edea5d9147f3af08d /os
parent3db4a4c805e29ac1f79bd6d7e59e1422714cfa01 (diff)
downloadyetihack-adc79032764885b4701e33a874487ebd74d9657d.tar.zst
added press enter prompt
Diffstat (limited to 'os')
-rw-r--r--os/linux/Makefile2
-rw-r--r--os/windows/Makefile6
2 files changed, 4 insertions, 4 deletions
diff --git a/os/linux/Makefile b/os/linux/Makefile
index 82cffe4..35766bb 100644
--- a/os/linux/Makefile
+++ b/os/linux/Makefile
@@ -1,4 +1,4 @@
-yetihack:
+yetihack: src/YetiHack.cpp src/yeti.cpp
cd src && make
package: yetihack
diff --git a/os/windows/Makefile b/os/windows/Makefile
index 3e95448..b617610 100644
--- a/os/windows/Makefile
+++ b/os/windows/Makefile
@@ -1,5 +1,5 @@
-yetihack.exe: src/YetiHack.cpp
- i486-mingw32-g++ -Iinclude src/YetiHack.cpp src/yeti.cpp -o src/yetihack.exe -lpdcurses
+yetihack.exe: src/YetiHack.cpp src/yeti.cpp
+ i486-mingw32-g++ src/YetiHack.cpp src/yeti.cpp -o src/yetihack.exe -L . -lpdcurses -Iinclude -static-libgcc -static-libstdc++
-rm os/windows/yetihack-windows/yetihack.exe
ln src/yetihack.exe os/windows/yetihack-windows/
@@ -7,7 +7,7 @@ package: yetihack.exe
makensis os/windows/install.nsi
cd os/windows/yetihack-windows && zip ../../../package/yetihack-windows.zip *
-install: yetihack.exe
+install: yetihack.exe package
./YetiHack_installer.exe
clean: