Using CheatSheets To Apply Best Practices

Makefile Cheatsheet

Makefile Cheatsheet

1.1 Makefile

Name Command
Makefile indentation It should always be tab, instead of whitespaces
Debug makefile make -n
Makefile use variables make MODULE=audit build -f Makefile-debug See Makefile-debug
Phony target will always be rebuilt See Makefile-phony
Makefile use if clause See Makefile-if
Makefile use for clause See Makefile-for
Reference Link: Makefile Quick Reference

1.2 More Resources

Leave a Reply

Your email address will not be published. Required fields are marked *