X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/0f9f3c1e19351409860692d236ae01006418c5da..9d5cef9df44a7d6687a9563bc762ae56fe70103b:/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: