Windows build now puts everything in one directory for easier operation

This commit is contained in:
David Schmidt 2012-02-18 08:03:17 +00:00
parent ac77772f2a
commit 943cea7559
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ set CYGWIN=nodosfilewarning
SET CWD=%CD%
if "%GSPORT_PATH_SET%" == "1" goto start
set GSPORT_PATH_SET=1
PATH=%PATH%;%GSPORT_HOME%lib
PATH=%PATH%;%GSPORT_HOME
:start
GSport.exe

View File

@ -57,11 +57,11 @@ gsportx: $(OBJECTS) compile_time.o
# Mingw32 (native windows) builds:
gsport.exe: $(OBJECTS) compile_time.o
g++ $(CCOPTS) $(LDOPTS) $(OBJECTS) compile_time.o $(LDFLAGS) -o $(NAME)$(SUFFIX) $(EXTRA_LIBS) -lwinmm -lgdi32 -ldsound -lcomctl32 -lws2_32 -lshell32
mkdir -p ../GSport.app/lib
mkdir -p ../GSport.app
cp -f gsport.exe ../GSport.app/GSport.exe
cp -f ../config.template ../GSport.app/config.txt
cp -f ../lib/*.ttf ../GSport.app/lib
cp -f ../lib/arch/win32/*.dll ../GSport.app/lib
cp -f ../lib/*.ttf ../GSport.app
cp -f ../lib/arch/win32/*.dll ../GSport.app
cp -f GSport.bat ../GSport.app/GSport.bat
cp -f parallel.rom ../GSport.app
cp -f ../COPYING.txt ../GSport.app