Permalink
Browse files

Changed the Makefile so it automatically adds LICENSE.txt to the wxl …

…files. Also changed "YYYY" to "2011" in the licsense.
  • Loading branch information...
1 parent 84af9e6 commit 2cb37544c00c72fa61c2829bfe73621b59fd2b7d @DavidEGrayson DavidEGrayson committed Mar 7, 2011
Showing with 5 additions and 3 deletions.
  1. +1 −1 LICENSE.txt
  2. +4 −2 Makefile
View
@@ -1,4 +1,4 @@
-Copyright (c) 2009-YYYY Pololu Corporation. For more information, see
+Copyright (c) 2009-2011 Pololu Corporation. For more information, see
http://www.pololu.com/
http://forum.pololu.com/
View
@@ -16,8 +16,9 @@ LD := sdld# Linker: creates .hex files from .rel/.lib files)
PACKIHX := packihx# makes .hex files smaller
MV := move# moves files
CP := cp# copies files
-ECHO := echo# prints some text to the standard output
-GREP := grep# prints lines from a file that match a given pattern
+CAT := cat# outputs files
+ECHO := echo# outputs some text to the standard output
+GREP := grep# outputs lines from a file that match a given pattern
WIXELCMD := wixelcmd# loads programs on the Wixel
#### Include directories #######################################################
@@ -173,6 +174,7 @@ endif
$(V)$(ECHO) Pololu Wixel Application - www.pololu.com> $@.tmp
$(V)$(ECHO) 1.0>> $@.tmp
$(V)$(ECHO) ====== license>> $@.tmp
+ $(V)$(CAT) LICENSE.txt >> $@.tmp
$(V)$(ECHO) ====== cdb>> $@.tmp
$(V)$(GREP) param $(<:%.hex=%.cdb) >> $@.tmp || echo (This app has no params.)
$(V)$(ECHO) ====== hex>> $@.tmp

0 comments on commit 2cb3754

Please sign in to comment.