From: kramm Date: Mon, 9 Jun 2008 10:23:21 +0000 (+0000) Subject: added mkarchive build X-Git-Tag: buttons-working~164 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=d85647d9b03dffe8a5ff1b0a8a8985b4cf424a50;p=swftools.git added mkarchive build --- 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