added filters, blend modes
[swftools.git] / installer / Makefile
1 CC=/opt/xmingw/bin/i386-mingw32msvc-gcc -DWIN32
2 WINDRES=/opt/xmingw/bin/i386-mingw32msvc-windres
3
4 all: installer.exe
5
6 LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32
7
8 crnfiles.o: crnfiles.c
9         $(CC) -c crnfiles.c
10
11 depack.o: depack.c depack.h Makefile
12         $(CC) -c depack.c -o depack.o
13
14 archive.o: archive.c archive.c depack.h
15         $(CC) -c archive.c -o archive.o
16
17 os.o: ../lib/os.c ../lib/os.h
18         $(CC) -c ../lib/os.c -o os.o
19
20 installer.coff: installer.rc
21         $(WINDRES) installer.rc -O coff -F pe-i386 -o installer.coff
22
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)