git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d290ce7
)
added lzma object files
author
kramm
<kramm>
Mon, 9 Jun 2008 10:23:36 +0000
(10:23 +0000)
committer
kramm
<kramm>
Mon, 9 Jun 2008 10:23:36 +0000
(10:23 +0000)
installer/Makefile
patch
|
blob
|
history
diff --git
a/installer/Makefile
b/installer/Makefile
index
39a7945
..
c5220aa
100644
(file)
--- a/
installer/Makefile
+++ b/
installer/Makefile
@@
-6,7
+6,7
@@
LICENSE=gpl.c
all: files1.exe files2.exe mkarchive
all: files1.exe files2.exe mkarchive
-LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 -luuid ../z/libz.a
+LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 -luuid
files1.c: ../win32/*.exe mkarchive
CWD=`pwd`
files1.c: ../win32/*.exe mkarchive
CWD=`pwd`
@@
-42,8
+42,11
@@
installer.o: installer.c installer.h archive.h ../lib/os.h
installer.coff: installer.rc swftools.ico installer.h
$(WINDRES) installer.rc -O coff -F pe-i386 -o installer.coff
installer.coff: installer.rc swftools.ico installer.h
$(WINDRES) installer.rc -O coff -F pe-i386 -o installer.coff
-%.exe: %.c installer.o license.o archive.o installer.coff Makefile
- $(CC) installer.o license.o archive.o installer.coff $< -o $@ $(LIBS)
+lzma/LzmaDecode.o: lzma/LzmaDecode.c lzma/LzmaDecode.h lzma/LzmaTypes.h
+ $(CC) -c lzma/LzmaDecode.c -o lzma/LzmaDecode.o
+
+%.exe: %.c 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 $@
#upx -9 --best $@ 2>/dev/null || true
$(STRIP) $@
./makegui $@
#upx -9 --best $@ 2>/dev/null || true