X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/0f9f3c1e19351409860692d236ae01006418c5da..c6b56e0a25a47f75854a46dbcc9201988d7ee949:/doc/examples/Makefile?ds=sidebyside diff --git a/doc/examples/Makefile b/doc/examples/Makefile index a7751fd..785045f 100644 --- a/doc/examples/Makefile +++ b/doc/examples/Makefile @@ -68,6 +68,11 @@ all: $(target) o_files = $(patsubst %.$(extension),%.o,$(fuentes)) $(target): $(o_files) + @if [ -z "$(o_files)" ]; \ + then \ + echo "No hay archivos de entrada, recuerde que la extensión debe ser '.$(extension)'."; \ + false; \ + fi $(enlazador) $(LDFLAGS) $(o_files) $(LOADLIBES) $(LDLIBS) -o $(target) clean: