summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndreas Auras <yak54@inkennet.de>2011-09-23 22:16:43 +0200
committerAndreas Auras <yak54@inkennet.de>2011-09-23 22:16:43 +0200
commite13185dcc397297442e815cb4372537c86e89afa (patch)
tree282e25b9d62d263280236993b655c0502d80c1b7 /Makefile
parenta9fd3ff0b95b45ea419c701448270a061b28c570 (diff)
downloaddf10ch-atmolight-controller-e13185dcc397297442e815cb4372537c86e89afa.tar.gz
df10ch-atmolight-controller-e13185dcc397297442e815cb4372537c86e89afa.tar.bz2
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.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 7 insertions, 3 deletions
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