I've created a tag in the makefile:
mytag: $(shell ${PWD}/script.sh)
When i do: make clean
- the script is executed
When i perform make
or make mytag
the script is again executed with the output:
make: Nothing to be done for mytag
What i want ?
I want script.sh to be executed only when i perform make mytag
Thanks
---------- Post updated at 09:57 AM ---------- Previous update was at 06:00 AM ----------
default tag was missing from my Makefile
, and i've put
mytag:
$(shell ${PWD}/script.sh)