fix crashes reported by Debian Cylab Mayhem Team
[swftools.git] / wx / Makefile
blobfacbe44159dcd7c85dd542c5e4d7acc0e915986e
1 top_builddir = ../..
2 srcdir = .
3 top_srcdir = ..
4 include ../Makefile.common
6 all: pdf2swf_gui.exe
8 pdf2swf_gui.exe: gpdf2swf.py gui/*.py viewers/*.py
9 cp -a ../installer/swftools.ico /xpython/xpython.ico
10 cp -a gpdf2swf.py /xpython/main.py
11 cp -a -R viewers gui lib /xpython/
12 rm -f /xpython/swftools/lib/python/gfx.a
13 rm -f /xpython/swftools/lib/python/gfx.lib
14 cd /xpython/swftools;git stash && git pull && git stash apply
15 cd /xpython;make xpython.exe
16 ln -f /xpython/xpython.exe ./gpdf2swf.exe
17 #ln -f gpdf2swf.exe ../win32_gui/
18 ln -f gpdf2swf.exe ../win32/
19 cp -R viewers/* ../win32/viewers/
20 rm -rf ../win32/viewers/flexpaper* # we're not distributing flexpaper
22 .PHONY: exe