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
%.o: %.c
$(CC) -c $<
+mkarchive: mkarchive.c
+ gcc mkarchive.c -o mkarchive -lz
+
crnfiles1.o: crnfiles1.c
crnfiles2.o: crnfiles2.c