aboutsummaryrefslogtreecommitdiffstats
path: root/os/windows
diff options
context:
space:
mode:
Diffstat (limited to 'os/windows')
-rw-r--r--os/windows/Makefile6
1 files changed, 3 insertions, 3 deletions
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: