I have this setup in my Makefile.
action1:
does something
action2: action1
does something else
I want to keep my configuration in case I want to use action1
as a dependency for action2
, but sometimes I'd like to ignore action1 when running make action2
(e.g. I'd like to run make action2
without having to include action1
). Can I setup some kind of flag to pass in to ignore the dependency when running target and how can I go about doing that?