5 ms·
Why have Python when you can use Shell to do the same? Why have Shell when you have C? Why have C when you have ASM? All of those increments make particular ta
by falcolas 10y ago
Why have Python when you can use Shell to do the same? Why have Shell when you have C? Why have C when you have ASM?
All of those increments make particular tasks easier. Makefiles eliminate the need to write 'if this doesn't exist or it exists but is older than its dependencies' over and over again. The built in targets also make building C programs quite trivial.
Makefiles can get nasty, but for simple chains of "if this file has been modified take this action" they're a great tool. The syntax isn't even that hard for those types of actions.
target: dependency ...
action