From 95cce1be8aac074afd8943c6a96b89be58929456 Mon Sep 17 00:00:00 2001 From: Ray Hogenson Date: Sat, 14 Jan 2012 19:09:16 -0900 Subject: Fixed all makefiles --- os/windows/Makefile | 12 +++++------- os/windows/install.nsi | 6 +++--- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'os/windows') diff --git a/os/windows/Makefile b/os/windows/Makefile index 5ee19c9..94c335d 100644 --- a/os/windows/Makefile +++ b/os/windows/Makefile @@ -4,17 +4,15 @@ yetihack.exe: src/YetiHack.cpp ln src/yetihack.exe os/windows/yetihack-windows/ package: yetihack.exe - YETIHACKDIR=`pwd` - export YETIHACKDIR makensis os/windows/install.nsi - zip yetihack-windows.zip os/windows/yetihack-windows + zip package/yetihack-windows.zip os/windows/yetihack-windows install: yetihack.exe ./YetiHack_installer.exe clean: - -rm yetihack.exe - -rm YetiHack_installer.exe - -rm yetihack-windows.zip - -rm yetihack-windows/yetihack.exe + -rm src/yetihack.exe + -rm package/YetiHack_installer.exe + -rm package/yetihack-windows.zip + -rm os/windows/yetihack-windows/yetihack.exe diff --git a/os/windows/install.nsi b/os/windows/install.nsi index 507acba..dfb0d65 100644 --- a/os/windows/install.nsi +++ b/os/windows/install.nsi @@ -11,7 +11,7 @@ Name "YetiHack Installer" ; The file to write -OutFile "YetiHack_installer.exe" +OutFile "../../package/YetiHack_installer.exe" ; The default installation directory InstallDir $PROGRAMFILES\YetiHack @@ -42,8 +42,8 @@ Section "YetiHack" SectionIn RO SetOutPath $INSTDIR - File "$YETIHACKDIR/src/yetihack.exe" - File "/usr/i586-mingw32msvc/bin/pdcurses.dll" + File "../../src/yetihack.exe" + File "yetihack-windows/pdcurses.dll" ; Write the installation path into the registry WriteRegStr HKLM SOFTWARE\YetiHack "Install_Dir" "$INSTDIR" -- cgit v1.3.1