From 0e601691a6fa24df1e05c9001df6fd03b071fe9b Mon Sep 17 00:00:00 2001 From: Brian Daniels Date: Thu, 14 Feb 2019 08:55:50 -0600 Subject: [PATCH] Add .inc files to list of header files --- docs/reference/build_rules.md | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/docs/reference/build_rules.md b/docs/reference/build_rules.md index a13aa433c7..ead4cf4eb0 100644 --- a/docs/reference/build_rules.md +++ b/docs/reference/build_rules.md @@ -8,17 +8,17 @@ The build tools include every source file found in the project unless it is in a Mbed OS build tools determine the type of source file found based on the file's extension. The following table lists all files used in a build: -| Extension | File type | Used by | -|---------------------|-------------------|--------------------------------| -| `.a`, `.ar` | Archive | Toolchain's linker | -| `.c` | C source | Toolchain's C compiler | -| `.cc`, `.cpp` | C++ source | Toolchain's C++ compiler | -| `.h`, `.hpp`, `.hh` | C/C++ header | Toolchain's C and C++ compiler | -| `.icf` | IAR linker file | IAR's linker | -| `.ld` | GCC linker script | GCC's linker (`ld`) | -| `.o` | Object | Toolchain's linker | -| `.s`, `.S` | Assembly | Toolchain's assembler | -| `.sct` | ARM scatter file | ARM's linker (`armlink`) | +| Extension | File type | Used by | +|-----------------------------|-------------------|--------------------------------| +| `.a`, `.ar` | Archive | Toolchain's linker | +| `.c` | C source | Toolchain's C compiler | +| `.cc`, `.cpp` | C++ source | Toolchain's C++ compiler | +| `.h`, `.hpp`, `.hh`, `.inc` | C/C++ header | Toolchain's C and C++ compiler | +| `.icf` | IAR linker file | IAR's linker | +| `.ld` | GCC linker script | GCC's linker (`ld`) | +| `.o` | Object | Toolchain's linker | +| `.s`, `.S` | Assembly | Toolchain's assembler | +| `.sct` | ARM scatter file | ARM's linker (`armlink`) | ### Label directories