3 ms·
If the file dependencies don't actually matter, you can mark the build targets as .phony And still get to have things like make build vs make push, etc.
by toast0 3y ago
If the file dependencies don't actually matter, you can mark the build targets as .phony
And still get to have things like make build vs make push, etc.
- kazinator 3y agoIf dependencies don't matter, make isn't the right tool. Your scripted actions can be ./build and ./push. If you feel you need to type the name of a tool before your command, you can do that: sh build, sh push.
- mixmastamyk 3y agoFilling your project namespace with a half dozen 2 -3 line scripts is not a big win. One script with a switch case might be better.