Skip to content

Commit

Permalink
Merge pull request s-matyukevich#220 from gpiffault/lesson01-add-make…
Browse files Browse the repository at this point in the history
…-substitution-link

Add make substitution link
  • Loading branch information
s-matyukevich authored Jan 12, 2021
2 parents 83ce425 + 949372d commit a26ead7
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 a26ead7

Please sign in to comment.