summaryrefslogtreecommitdiff
path: root/software/pic.bootloader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'software/pic.bootloader/Makefile')
-rw-r--r--software/pic.bootloader/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/software/pic.bootloader/Makefile b/software/pic.bootloader/Makefile
new file mode 100644
index 0000000..fb91150
--- /dev/null
+++ b/software/pic.bootloader/Makefile
@@ -0,0 +1,31 @@
+##
+## spreadspace pic utils
+##
+##
+## Copyright (C) 2011 Christian Pointner <equinox@spreadspace.org>
+##
+## This file is part of spreadspace pic utils.
+##
+## spreadspace pic utils 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 pic utils 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 pic utils. If not, see <http://www.gnu.org/licenses/>.
+##
+
+ifndef TARGET
+$(error You need to specify a target, call make with TARGET=xyz)
+endif
+
+all:
+ $(MAKE) -f Makefile-$(TARGET) $@
+
+%:
+ $(MAKE) -f Makefile-$(TARGET) $@