From 390f2813971fed2c89274786e372069071849f6d Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 6 Feb 2005 16:52:33 +0000 Subject: [PATCH] added os.o, installer.rc. --- installer/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/installer/Makefile b/installer/Makefile index de58c83..70e3725 100644 --- a/installer/Makefile +++ b/installer/Makefile @@ -1,8 +1,9 @@ CC=/opt/xmingw/bin/i386-mingw32msvc-gcc -DWIN32 +WINDRES=/opt/xmingw/bin/i386-mingw32msvc-windres all: installer.exe -LIBS=-lgdi32 -lshlwapi +LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 crnfiles.o: crnfiles.c $(CC) -c crnfiles.c @@ -13,6 +14,11 @@ depack.o: depack.c depack.h Makefile archive.o: archive.c archive.c depack.h $(CC) -c archive.c -o archive.o -installer.exe: installer.c depack.o archive.o depack.h crnfiles.o Makefile - $(CC) installer.c depack.o archive.o crnfiles.o -o installer.exe $(LIBS) +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) -- 1.7.10.4