summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2015-02-24 20:01:35 +0100
committerChristian Pointner <equinox@spreadspace.org>2015-02-24 20:01:35 +0100
commit26347d0956985765536d5773a1adf1726e61cbbf (patch)
tree28b5e2f30aa8b3d0b17cbb891d9c45622b358029
parentfixed copyright header and paths after repo move (diff)
added contrib Makefile
-rw-r--r--.gitignore3
-rw-r--r--contrib/Makefile31
2 files changed, 33 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 841ba14..1fe3133 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,8 @@
+contrib/avr-utils
+contrib/.spreadavr.prepared
*/*.a
*/*.o
*/*.d
*/*.d.*
*/*.hex
*/*.elf
-contrib/avr-utils
diff --git a/contrib/Makefile b/contrib/Makefile
new file mode 100644
index 0000000..9f79857
--- /dev/null
+++ b/contrib/Makefile
@@ -0,0 +1,31 @@
+##
+## spreadspace avr projects
+##
+##
+## Copyright (C) 2013-2015 Christian Pointner <equinox@spreadspace.org>
+##
+## This file is part of spreadspace avr projects.
+##
+## spreadspace avr projects is free software: you can redistribute it and/or modify
+## it under the terms of the GNU General Public License as published by
+## the Free Software Foundation, either version 3 of the License, or
+## any later version.
+##
+## spreadspace avr projects is distributed in the hope that it will be useful,
+## but WITHOUT ANY WARRANTY; without even the implied warranty of
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+## GNU General Public License for more details.
+##
+## You should have received a copy of the GNU General Public License
+## along with spreadspace avr projects. If not, see <http://www.gnu.org/licenses/>.
+##
+
+all: update-spreadavr
+
+.spreadavr.prepared:
+ git clone git://git.spreadspace.org/avr-utils.git
+ touch $@
+
+update-spreadavr: .spreadavr.prepared
+ cd avr-utils/; git pull
+ $(MAKE) -C avr-utils/contrib/