diff options
| author | Ray Hogenson <rayhogenson@gmail.com> | 2012-01-10 15:51:25 -0900 |
|---|---|---|
| committer | Ray Hogenson <rayhogenson@gmail.com> | 2012-01-10 15:51:25 -0900 |
| commit | f400bf3f6905e012e8c36862c0b97db28892a06d (patch) | |
| tree | 5080f7e44a9ffdd9840d16bd0a3a1a559fdb5447 /os | |
| parent | 6a4082406f71e40541602473bb0003fe3879fcdd (diff) | |
| download | yetihack-f400bf3f6905e012e8c36862c0b97db28892a06d.tar.zst | |
this one actually compiles. Version 1
Diffstat (limited to 'os')
| -rw-r--r-- | os/windows/Makefile | 15 | ||||
| -rw-r--r-- | os/windows/install.nsi | 2 | ||||
| -rwxr-xr-x | os/windows/yetihack-windows/yetihack.exe | bin | 1110779 -> 1110779 bytes |
3 files changed, 11 insertions, 6 deletions
diff --git a/os/windows/Makefile b/os/windows/Makefile index d1e8745..3f4ab15 100644 --- a/os/windows/Makefile +++ b/os/windows/Makefile @@ -1,11 +1,16 @@ -yetihack.exe: ../YetiHack.cpp - i586-mingw32msvc-g++ src/YetiHack.cpp src/yeti.cpp -o yetihack.exe -lpdcurses +yetihack.exe: src/YetiHack.cpp + i586-mingw32msvc-g++ -Iinclude src/YetiHack.cpp src/yeti.cpp -o src/yetihack.exe -lpdcurses -rm os/windows/yetihack-windows/yetihack.exe - ln yetihack.exe yetihack-windows + ln yetihack.exe os/windows/yetihack-windows/ package: yetihack.exe - makensis install.nsi - zip yetihack-windows.zip yetihack-windows + YETIHACKDIR=`pwd` + export YETIHACKDIR + makensis os/windows/install.nsi + zip yetihack-windows.zip os/windows/yetihack-windows + +install: yetihack.exe + ./YetiHack_installer.exe clean: -rm yetihack.exe diff --git a/os/windows/install.nsi b/os/windows/install.nsi index a53078e..507acba 100644 --- a/os/windows/install.nsi +++ b/os/windows/install.nsi @@ -42,7 +42,7 @@ Section "YetiHack" SectionIn RO
SetOutPath $INSTDIR
- File "/home/ray/Documents/programming/YetiHack/windows/yetihack.exe"
+ File "$YETIHACKDIR/src/yetihack.exe"
File "/usr/i586-mingw32msvc/bin/pdcurses.dll"
; Write the installation path into the registry
diff --git a/os/windows/yetihack-windows/yetihack.exe b/os/windows/yetihack-windows/yetihack.exe Binary files differindex 58ec272..b7f7b5b 100755 --- a/os/windows/yetihack-windows/yetihack.exe +++ b/os/windows/yetihack-windows/yetihack.exe |
