summaryrefslogtreecommitdiff
path: root/compile/win32
diff options
context:
space:
mode:
Diffstat (limited to 'compile/win32')
-rw-r--r--compile/win32/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/compile/win32/Makefile b/compile/win32/Makefile
index d1e19d7..2938ad2 100644
--- a/compile/win32/Makefile
+++ b/compile/win32/Makefile
@@ -8,7 +8,8 @@ INCLUDES = -I../../includes -I../../psxdev -I../../generic/include \
-I../../generic/lib/zlib/include \
-I../../generic/lib/lua/include -I../../generic/lib/lua/includes \
-I../../mogltk/include \
--I/usr/local/cross-tools/i386-mingw32msvc/include/SDL
+-I/usr/local/cross-tools/i386-mingw32msvc/include/SDL \
+-I../..
CPPFLAGS = $(INCLUDES) -O4 -march=i686 -DSTDC_HEADERS -DREADLINE_STATIC
@@ -99,20 +100,20 @@ all: cd-tool.exe Dalos.exe
stats:
@wc $(WHOLE_SOURCES)
-dist: all SDL.dll ../../cd-tool.lua ../../COPYING ../../FAQ-cd.txt
+dist: all README-SDL.txt SDL.dll ../../cd-tool.lua ../../COPYING ../../FAQ-cd.txt
zip -j9 ../cd-tool-`date +%Y%m%d`-win32.zip cd-tool.exe ../../cd-tool.lua ../../FAQ-cd.txt ../../COPYING
- zip -j9 ../Dalos-`date +%Y%m%d`-win32.zip Dalos.exe ../../COPYING
+ zip -j9 ../Dalos-`date +%Y%m%d`-win32.zip Dalos.exe ../../COPYING README-SDL.txt SDL.dll
Dalos.exe: $(DALOS_OBJECTS)
- $(LD) $(LDFLAGS) -o Dalos.exe $(DALOS_OBJECTS) -lmingw32 -L/usr/local/cross-tools/i386-mingw32msvc/lib -lmingw32 -lSDLmain -lSDL -mwindows -lopengl32 -lglu32
+ $(LD) $(LDFLAGS) -o Dalos.exe $(DALOS_OBJECTS) -lmingw32 -L/usr/local/cross-tools/i386-mingw32msvc/lib -lmingw32 -lSDLmain -lSDL -mwindows -lopengl32 -lglu32 ../../libreadline-static.a
$(STRIP) Dalos.exe
- upx-nrv Dalos.exe
+ upx-nrv -9 Dalos.exe
cat ../../Dalos/Dalos.paq >> Dalos.exe
cd-tool.exe: $(CD_TOOL_OBJECTS)
$(LD) $(LDFLAGS) -o cd-tool.exe $(CD_TOOL_OBJECTS) ../../libreadline-static.a -mconsole
$(STRIP) cd-tool.exe
- upx-nrv cd-tool.exe
+ upx-nrv -9 cd-tool.exe
clean:
rm -f *.exe *.o