From e13185dcc397297442e815cb4372537c86e89afa Mon Sep 17 00:00:00 2001 From: Andreas Auras Date: Fri, 23 Sep 2011 22:16:43 +0200 Subject: Setup program version 4: Exchange pyusb with extracted modules from python-libusb1 project. Add generating .exe file for win32 platform with py2exe. Controller test application version 2: Port application to win32 platform. Added win32 binary distribution generation. Update README and HISTORY. --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index edcaad4..466651c 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2010 Andreas Auras +# Copyright (C) 2011 Andreas Auras # # This file is part of the DF10CH Atmolight controller project. # @@ -22,11 +22,11 @@ # ################################ FIRMWARE_DIRS = usb_boot usb_appl pwm_boot pwm_appl -.PHONY: all dist srcdist clean firmware $(FIRMWARE_DIRS) +.PHONY: all dist srcdist windist clean firmware $(FIRMWARE_DIRS) all: firmware -# Build binary distribution (setup program and *.dff firmware files) +# Build binary distribution (linux) (setup program and *.dff firmware files) dist: clean firmware mkdir -p dist mkdir -p build/firmware @@ -35,6 +35,10 @@ dist: clean firmware cp pwm_appl/df10ch_pwm_appl.dff build/firmware/df10ch_pwm_appl.dff tar -C build -cvzf dist/df10ch_firmware.tar.gz firmware +# Build binary distribution (windows) +windist: + python winsetup.py py2exe + # Build source distribution srcdist: clean mkdir -p dist -- cgit v1.2.3