+installer.coff: installer.rc swftools.ico
+ $(WINDRES) installer.rc -O coff -F pe-i386 -o installer.coff
+
+installer.exe: installer.c depack.o archive.o depack.h crnfiles.o os.o installer.coff Makefile
+ $(CC) installer.c depack.o archive.o crnfiles.o os.o installer.coff -o installer.exe $(LIBS)
+ $(STRIP) installer.exe
+ ./makegui installer.exe
+ upx -9 --best installer.exe 2>/dev/null || true
+
+crnfiles.c: ../win32/*.exe
+ CWD=`pwd`
+ cd ../win32;../installer/mkarchive `find`
+ mv ../win32/crnfiles.c ./
+
+clean:
+ rm -f installer.exe crnfiles.c *.o *.coff