From: kramm Date: Mon, 9 Jun 2008 10:23:36 +0000 (+0000) Subject: added lzma object files X-Git-Tag: buttons-working~162 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=95dbc3a51fcce7d14e4b7485c0b77ba7ee504073 added lzma object files --- diff --git a/installer/Makefile b/installer/Makefile index 39a7945..c5220aa 100644 --- a/installer/Makefile +++ b/installer/Makefile @@ -6,7 +6,7 @@ LICENSE=gpl.c all: files1.exe files2.exe mkarchive -LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 -luuid ../z/libz.a +LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 -luuid files1.c: ../win32/*.exe mkarchive CWD=`pwd` @@ -42,8 +42,11 @@ installer.o: installer.c installer.h archive.h ../lib/os.h installer.coff: installer.rc swftools.ico installer.h $(WINDRES) installer.rc -O coff -F pe-i386 -o installer.coff -%.exe: %.c installer.o license.o archive.o installer.coff Makefile - $(CC) installer.o license.o archive.o installer.coff $< -o $@ $(LIBS) +lzma/LzmaDecode.o: lzma/LzmaDecode.c lzma/LzmaDecode.h lzma/LzmaTypes.h + $(CC) -c lzma/LzmaDecode.c -o lzma/LzmaDecode.o + +%.exe: %.c installer.o license.o archive.o lzma/LzmaDecode.o installer.coff Makefile + $(CC) installer.o license.o archive.o lzma/LzmaDecode.o installer.coff $< -o $@ $(LIBS) $(STRIP) $@ ./makegui $@ #upx -9 --best $@ 2>/dev/null || true