I wrote a program for an assignment which is supposed to print its output to stdout. The assignment spec requires the creation of a Makefile which when invoked as make run
make run
You can also use .SILENT
.SILENT: run hi: echo "Hola!" run: java myprogram
In this case, make hi will output command, but make run will not output.
make hi