diff options
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 |