aboutsummaryrefslogtreecommitdiffstats
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
parent3db4a4c805e29ac1f79bd6d7e59e1422714cfa01 (diff)
downloadyetihack-adc79032764885b4701e33a874487ebd74d9657d.tar.zst
added press enter prompt
-rw-r--r--os/linux/Makefile2
-rw-r--r--os/windows/Makefile6
-rw-r--r--src/YetiHack.cpp2
3 files changed, 5 insertions, 5 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:
diff --git a/src/YetiHack.cpp b/src/YetiHack.cpp
index fbcf677..c49cc9f 100644
--- a/src/YetiHack.cpp
+++ b/src/YetiHack.cpp
@@ -237,7 +237,7 @@ int start(bool immortal, bool story, double escapeturns)
yetis.push_back(yeti1);
}
}
- addstr("\nYou Escaped!");
+ addstr("\nYou Escaped! Press enter to continue.");
do
{
input = getch();