From 3bec1f575fb8942589282170e92519b4d7a78e90 Mon Sep 17 00:00:00 2001 From: kramm Date: Tue, 10 Jun 2008 10:46:56 +0000 Subject: [PATCH] don't compile crnfiles every time --- installer/Makefile | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/installer/Makefile b/installer/Makefile index 2f67a59..7843c95 100644 --- a/installer/Makefile +++ b/installer/Makefile @@ -4,7 +4,7 @@ WINDRES=/opt/xmingw/bin/i386-mingw32msvc-windres LICENSE=gpl.c -all: files1.exe files2.exe uninstall.exe mkarchive +all: files1.exe files2.exe mkarchive LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 -luuid @@ -33,33 +33,22 @@ crnfiles2.o: crnfiles2.c archive.o: archive.c archive.c $(CC) -c archive.c -o archive.o -utils.o: utils.c utils.c - $(CC) -c utils.c -o utils.o - license.o: $(LICENSE) $(CC) -c $< -o license.o -installer.o: installer.c installer.h archive.h +installer.o: installer.c installer.h archive.h ../lib/os.h $(CC) -c installer.c -o installer.o -uninstaller.o: installer.c installer.h - $(CC) -DDEINSTALL -c installer.c -o uninstaller.o - installer.coff: installer.rc swftools.ico installer.h $(WINDRES) installer.rc -O coff -F pe-i386 -o installer.coff lzma/LzmaDecode.o: lzma/LzmaDecode.c lzma/LzmaDecode.h lzma/LzmaTypes.h $(CC) -c lzma/LzmaDecode.c -o lzma/LzmaDecode.o -uninstall.exe: uninstaller.o utils.o installer.coff Makefile - $(CC) uninstaller.o utils.o installer.coff -o $@ $(LIBS) - $(STRIP) $@ - #./makegui $@ - -%.exe: %.o installer.o license.o archive.o utils.o lzma/LzmaDecode.o installer.coff Makefile - $(CC) installer.o license.o utils.o archive.o lzma/LzmaDecode.o installer.coff $< -o $@ $(LIBS) +%.exe: %.o installer.o license.o archive.o lzma/LzmaDecode.o installer.coff Makefile + $(CC) installer.o license.o archive.o lzma/LzmaDecode.o installer.coff $< -o $@ $(LIBS) $(STRIP) $@ - #./makegui $@ + ./makegui $@ #upx -9 --best $@ 2>/dev/null || true #installer.exe: installer.c depack.o archive.o depack.h crnfiles.o installer.coff Makefile -- 1.7.10.4