git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added mkarchive build
[swftools.git]
/
installer
/
Makefile
diff --git
a/installer/Makefile
b/installer/Makefile
index
9a3c764
..
2d03cc9
100644
(file)
--- a/
installer/Makefile
+++ b/
installer/Makefile
@@
-4,16
+4,16
@@
WINDRES=/opt/xmingw/bin/i386-mingw32msvc-windres
LICENSE=gpl.c
LICENSE=gpl.c
-all: files1.exe files2.exe
+all: files1.exe files2.exe mkarchive
LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 -luuid
LIBS=-lgdi32 -lshlwapi -lcomctl32 -lshell32 -lole32 -luuid
-files1.c: ../win32/*.exe
+files1.c: ../win32/*.exe mkarchive
CWD=`pwd`
cd ../win32;../installer/mkarchive `find`
mv ../win32/crnfiles.c ./files1.c
CWD=`pwd`
cd ../win32;../installer/mkarchive `find`
mv ../win32/crnfiles.c ./files1.c
-files2.c: ../win32_gui/*.exe ../win32_gui/*.swf
+files2.c: ../win32_gui/*.exe ../win32_gui/*.swf mkarchive
CWD=`pwd`
cd ../win32_gui;../installer/mkarchive `find`
mv ../win32_gui/crnfiles.c ./files2.c
CWD=`pwd`
cd ../win32_gui;../installer/mkarchive `find`
mv ../win32_gui/crnfiles.c ./files2.c
@@
-21,6
+21,9
@@
files2.c: ../win32_gui/*.exe ../win32_gui/*.swf
%.o: %.c
$(CC) -c $<
%.o: %.c
$(CC) -c $<
+mkarchive: mkarchive.c
+ gcc mkarchive.c -o mkarchive -lz
+
crnfiles1.o: crnfiles1.c
crnfiles2.o: crnfiles2.c
crnfiles1.o: crnfiles1.c
crnfiles2.o: crnfiles2.c