Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Making Make Suck Less
- Use Make. Build scripts are usually a mistake.
- Use GNU make. It sucks the least.
- Build targets in the current directory
- Only use VPATH to locate source files, not intermediate targets.
- Never write a filename more than once.
- Don't use Make recursively.
- Don't use Autotools to generate Makefiles.
- Use implicit rules and predefined variables as much as possible.