aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();