@@ -376,14 +376,13 @@ more details, with real examples.
Two variables are used when defining special rules:
$(src)
- $(src) is a relative path which points to the directory
- where the Makefile is located. Always use $(src) when
- referring to files located in the src tree.
+ The absolute path to the directory where the makefile is
+ located. Always use $(src) when referring to files located
+ in the src directory.
$(obj)
- $(obj) is a relative path which points to the directory
- where the target is saved. Always use $(obj) when
- referring to generated files.
+ The absolute path to the directory where the target is saved.
+ Always use $(obj) when referring to generated files.
Example:
#drivers/scsi/Makefile