X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=installer%2FMakefile;h=70e3725ba2ac29cafc383adf211210e81642e1ad;hb=eb361a0f099d689011066b71a9d5e5d9fd94b913;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=fe1bb135fc2ad5be9269d6676d48d00bd6282f70;p=swftools.git diff --git a/installer/Makefile b/installer/Makefile index e69de29..70e3725 100644 --- a/installer/Makefile +++ b/installer/Makefile @@ -0,0 +1,24 @@ +CC=/opt/xmingw/bin/i386-mingw32msvc-gcc -DWIN32 +WINDRES=/opt/xmingw/bin/i386-mingw32msvc-windres + +all: installer.exe + +LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 + +crnfiles.o: crnfiles.c + $(CC) -c crnfiles.c + +depack.o: depack.c depack.h Makefile + $(CC) -c depack.c -o depack.o + +archive.o: archive.c archive.c depack.h + $(CC) -c archive.c -o archive.o + +os.o: ../lib/os.c ../lib/os.h + $(CC) -c ../lib/os.c -o os.o + +installer.coff: installer.rc + $(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)