X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=installer%2FMakefile;h=c5220aace14358994b31ba8b80a3976b08d7f6a2;hp=39a7945859c2e8922410ce3d81621ab650f62e48;hb=95dbc3a51fcce7d14e4b7485c0b77ba7ee504073;hpb=d290ce786feb18716f440bc840b2472653053cdd 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