diff --git a/examples/Makefile.rules b/examples/Makefile.rules index 15011a1..def65ac 100644 --- a/examples/Makefile.rules +++ b/examples/Makefile.rules @@ -134,6 +134,11 @@ list: $(BINARY).list images: $(BINARY).images flash: $(BINARY).flash +$(LDSCRIPT): + ifeq (,$(wildcard $(LDSCRIPT))) + $(error Unable to find specified linker script: $(LDSCRIPT)) + endif + %.images: %.bin %.hex %.srec %.list %.map @#printf "*** $* images generated ***\n"