diff options
Diffstat (limited to 'bootloader')
-rw-r--r-- | bootloader/Makefile | 11 | ||||
-rw-r--r-- | bootloader/Makefile-887 | 26 |
2 files changed, 34 insertions, 3 deletions
diff --git a/bootloader/Makefile b/bootloader/Makefile index 7aa7390..370a652 100644 --- a/bootloader/Makefile +++ b/bootloader/Makefile @@ -20,7 +20,12 @@ ## along with spreadspace pic utils. If not, see <http://www.gnu.org/licenses/>. ## -PROJECT := bootloader-887 -PROC_TYPE := 16F887 +ifndef TARGET +$(error You need to specify a target, call make with TARGET=xyz) +endif -include ../include.mk +all: + $(MAKE) -f Makefile-$(TARGET) $@ + +%: + $(MAKE) -f Makefile-$(TARGET) $@
\ No newline at end of file diff --git a/bootloader/Makefile-887 b/bootloader/Makefile-887 new file mode 100644 index 0000000..7aa7390 --- /dev/null +++ b/bootloader/Makefile-887 @@ -0,0 +1,26 @@ +## +## 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/>. +## + +PROJECT := bootloader-887 +PROC_TYPE := 16F887 + +include ../include.mk |