I have a run
target defined in my Makefile, which is really just there so I don't need to type it all the time. It looks like this:
proto: ...
# generate protobuf python definitions from proto files
.PHONY: run
run: proto
$(shell python examples/run_simulation.py)
But make run
yields
make: Nothing to be done for `run'.
I was under the assumption that the .PHONY
thing makes make
think the target is always out of date (various SO answers state this), but it does not seem to work. What am I missing?