Simply use the echo
or print
command. Don't forget to finish the line with a semi-colon and a backslash in your case.
echo "Print something";
lib: $(LIBOBJ)
if [ -n "$(SHARED_LIBS)" ]; then \
echo "Print some stuff here"; \
$(MAKE) -f $(TOP)/Makefile.shared -e \
LIBNAME=$(LIBNAME) \
LIBEXTRAS='$(LIBOBJ)' \
LIBDEPS='-L$(TOP) -lcrypto' \
link_o.$(SHLIB_TARGET); \
else \
echo "Print some stuff here"; \
$(AR) $(LIB) $(LIBOBJ); \
fi
@touch lib