Skip to content

Commit

Permalink
Add make substitution link
Browse files Browse the repository at this point in the history
  • Loading branch information
gpiffault committed Dec 9, 2020
1 parent 9c97b66 commit 949372d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/lesson01/rpi-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ OBJ_FILES = $(C_FILES:$(SRC_DIR)/%.c=$(BUILD_DIR)/%_c.o)
OBJ_FILES += $(ASM_FILES:$(SRC_DIR)/%.S=$(BUILD_DIR)/%_s.o)
```

Here we are building an array of all object files (`OBJ_FILES`) created from the concatenation of both C and assembler source files.
Here we are building an array of all object files (`OBJ_FILES`) created from the concatenation of both C and assembler source files (see [Substitution References](https://www.gnu.org/software/make/manual/html_node/Substitution-Refs.html)).

```
DEP_FILES = $(OBJ_FILES:%.o=%.d)
Expand Down

0 comments on commit 949372d

Please sign in to comment.