I\'m trying to setup a Makefile that will search and copy some files (if-else condition) and I can\'t figure out what exactly is wrong with it? (thou I\'m pretty sure it\'s beca
You can simply use shell commands. If you want to suppress echoing the output, use the "@" sign. For example:
clean: @if [ "test" = "test" ]; then\ echo "Hello world";\ fi
Note that the closing ";" and "\" are necessary.