summaryrefslogtreecommitdiff
path: root/compile/win32
diff options
context:
space:
mode:
authorpixel <pixel>2004-07-23 23:21:05 +0000
committerpixel <pixel>2004-07-23 23:21:05 +0000
commitd2bb3284367130dc9e3b8adb3f90e8c36bbd907b (patch)
tree010d2f0f37cdf92d7124ec43e87a7ff103a4ac39 /compile/win32
parentf19d111681d20a88fd31ea87fecbdcc39cc1b707 (diff)
Changed static makefiles to match new Dalos's requirements
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