From f400bf3f6905e012e8c36862c0b97db28892a06d Mon Sep 17 00:00:00 2001 From: Ray Hogenson Date: Tue, 10 Jan 2012 15:51:25 -0900 Subject: this one actually compiles. Version 1 --- os/windows/Makefile | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'os/windows/Makefile') 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 -- cgit v1.3.1