X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=installer%2FMakefile;fp=installer%2FMakefile;h=2d03cc9b3dfc2bdab05994615973b04a199eb376;hb=d85647d9b03dffe8a5ff1b0a8a8985b4cf424a50;hp=9a3c7649273039d168b123890e6bdcd0b28375b5;hpb=dc3edb13b7ab579de51496193b78e8c26790d512;p=swftools.git diff --git a/installer/Makefile b/installer/Makefile index 9a3c764..2d03cc9 100644 --- a/installer/Makefile +++ b/installer/Makefile @@ -4,16 +4,16 @@ WINDRES=/opt/xmingw/bin/i386-mingw32msvc-windres LICENSE=gpl.c -all: files1.exe files2.exe +all: files1.exe files2.exe mkarchive LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 -luuid -files1.c: ../win32/*.exe +files1.c: ../win32/*.exe mkarchive CWD=`pwd` cd ../win32;../installer/mkarchive `find` mv ../win32/crnfiles.c ./files1.c -files2.c: ../win32_gui/*.exe ../win32_gui/*.swf +files2.c: ../win32_gui/*.exe ../win32_gui/*.swf mkarchive CWD=`pwd` cd ../win32_gui;../installer/mkarchive `find` mv ../win32_gui/crnfiles.c ./files2.c @@ -21,6 +21,9 @@ files2.c: ../win32_gui/*.exe ../win32_gui/*.swf %.o: %.c $(CC) -c $< +mkarchive: mkarchive.c + gcc mkarchive.c -o mkarchive -lz + crnfiles1.o: crnfiles1.c crnfiles2.o: crnfiles2.c