From 16371e9d6d4866a775c6871255c9841ffac3f55d Mon Sep 17 00:00:00 2001 From: kramm Date: Fri, 27 Jul 2007 19:55:49 +0000 Subject: [PATCH] *** empty log message *** --- installer/Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/installer/Makefile b/installer/Makefile index 70e3725..bf863d5 100644 --- a/installer/Makefile +++ b/installer/Makefile @@ -1,4 +1,5 @@ CC=/opt/xmingw/bin/i386-mingw32msvc-gcc -DWIN32 +STRIP=/opt/xmingw/bin/i386-mingw32msvc-strip WINDRES=/opt/xmingw/bin/i386-mingw32msvc-windres all: installer.exe @@ -17,8 +18,19 @@ archive.o: archive.c archive.c depack.h os.o: ../lib/os.c ../lib/os.h $(CC) -c ../lib/os.c -o os.o -installer.coff: installer.rc +installer.coff: installer.rc swftools.ico $(WINDRES) installer.rc -O coff -F pe-i386 -o installer.coff installer.exe: installer.c depack.o archive.o depack.h crnfiles.o os.o installer.coff Makefile $(CC) installer.c depack.o archive.o crnfiles.o os.o installer.coff -o installer.exe $(LIBS) + $(STRIP) installer.exe + ./makegui installer.exe + upx -9 --best installer.exe 2>/dev/null || true + +crnfiles.c: ../win32/*.exe + CWD=`pwd` + cd ../win32;../installer/mkarchive `find` + mv ../win32/crnfiles.c ./ + +clean: + rm -f installer.exe crnfiles.c *.o *.coff -- 1.7.10.4