X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/0f9f3c1e19351409860692d236ae01006418c5da..22b5444454fa52681ff7bf397818c93936091113:/doc/examples/Makefile diff --git a/doc/examples/Makefile b/doc/examples/Makefile index a7751fd..13ac517 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 >&2 $(enlazador) $(LDFLAGS) $(o_files) $(LOADLIBES) $(LDLIBS) -o $(target) clean: