diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-07-08 01:56:50 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-07-08 01:56:50 +0000 |
commit | b41bb047096065b0d519779fe4f091737947e6f0 (patch) | |
tree | 3ae6b3129baf195e676e6db596b141f462abb6ad /bootloader/Makefile | |
parent | split bootloader code into includes (diff) |
added meta-makefile
git-svn-id: https://svn.spreadspace.org/pic/trunk@61 a09c6847-51d9-44de-8ef2-e725cf50f3c7
Diffstat (limited to 'bootloader/Makefile')
-rw-r--r-- | bootloader/Makefile | 11 |
1 files changed, 8 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 |