X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FMakefile;h=24c0fe494904954ffcfccad5354aa571d6375d30;hp=5fa3fc01b0f6cca0e2f0e3ba233420b204f48ce5;hb=85180b93353582dd0cb8c344b6170192c858f86d;hpb=7cc9ffda0fed2b23ced8370734fb59dfd81621a0 diff --git a/client/Makefile b/client/Makefile index 5fa3fc0..24c0fe4 100644 --- a/client/Makefile +++ b/client/Makefile @@ -1,17 +1,22 @@ - +#This is a py2exe Makefile for the Windows port, which is only +#maintained when Travis gets stuck doing MSP430 manufacturing. link: - rm -f /usr/local/bin/goodfet.* /usr/local/bin/goodfet + rm -f /usr/local/bin/goodfet.* /usr/local/bin/goodfet /usr/local/bin/facedancer* rm -rf *~ mkdir -p /usr/local/bin - ln -s `pwd`/goodfet `pwd`/goodfet.* /usr/local/bin/ + ln -s `pwd`/goodfet `pwd`/goodfet.* `pwd`/facedancer* /usr/local/bin/ install: echo "Try 'make link' instead." py2exepub: #publish the windows build. rsync --exclude .svn -ave ssh --progress --chmod=a+rx tmp/goodfet.zip travisutk,goodfet@web.sourceforge.net:htdocs/dist/gfwin.zip - +py2exeinstall: py2exe + rm -rf "c:\goodfet\bin" + md "c:\goodfet\bin" + copy tmp\\goodfet\\* c:\\goodfet\\bin\\ + rem Be sure to add C:\goodfet\bin to %Path%. py2exe: #Run this from Win32 with Python, py2exe, py-serial, and GNU utils. #MSP430 Client @@ -63,6 +68,10 @@ py2exe: sed s/PYTHONCONSOLE/goodfet.spi25c/ setup.py python setup.py py2exe mv dist/goodfet.exe dist/gfspi25.exe +#Silicon Labs C2 + sed s/PYTHONCONSOLE/goodfet.slc2/ setup.py + python setup.py py2exe + mv dist/goodfet.exe dist/gfslc2.exe #Goodfet. This must be last. sed s/PYTHONCONSOLE/goodfet/ setup.py