1 CC=/opt/xmingw/bin/i386-mingw32msvc-gcc -DWIN32
2 WINDRES=/opt/xmingw/bin/i386-mingw32msvc-windres
6 LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32
11 depack.o: depack.c depack.h Makefile
12 $(CC) -c depack.c -o depack.o
14 archive.o: archive.c archive.c depack.h
15 $(CC) -c archive.c -o archive.o
17 os.o: ../lib/os.c ../lib/os.h
18 $(CC) -c ../lib/os.c -o os.o
20 installer.coff: installer.rc
21 $(WINDRES) installer.rc -O coff -F pe-i386 -o installer.coff
23 installer.exe: installer.c depack.o archive.o depack.h crnfiles.o os.o installer.coff Makefile
24 $(CC) installer.c depack.o archive.o crnfiles.o os.o installer.coff -o installer.exe $(LIBS)