X-Git-Url: https://git.llucax.com/software/sercom-old.git/blobdiff_plain/0f9f3c1e19351409860692d236ae01006418c5da..008329b110ad2862d9f1d6548b90eaf20a11fb6b:/doc/examples/Makefile-cpp?ds=sidebyside diff --git a/doc/examples/Makefile-cpp b/doc/examples/Makefile-cpp index 4330eb7..4986280 100644 --- a/doc/examples/Makefile-cpp +++ b/doc/examples/Makefile-cpp @@ -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: