more changes to TX test code
[goodfet] / client / Makefile
index 5fa3fc0..1787c7b 100644 (file)
@@ -1,4 +1,5 @@
-
+#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
@@ -11,7 +12,11 @@ install:
 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/ <p2e.txt >setup.py
        python setup.py py2exe
        mv dist/goodfet.exe dist/gfspi25.exe
+#Silicon Labs C2
+       sed s/PYTHONCONSOLE/goodfet.slc2/ <p2e.txt >setup.py
+       python setup.py py2exe
+       mv dist/goodfet.exe dist/gfslc2.exe
 
 #Goodfet.  This must be last.
        sed s/PYTHONCONSOLE/goodfet/ <p2e.txt >setup.py