aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
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: