Hello sir, This patchset (v2) changes Makefile. 4 patches here: 1. Remove -fomit-frame-pointer flag, because it's already covered by the -O2 optimization flag. 2. When the header files are modified, the compiled objects are not going to be recompiled because the header files are not marked as a dependency for the objects. - Instruct the compiler to generate dependency files. - Include those files from src/Makefile. Ensure if any changes are made, files that depend on the changes are recompiled. 3. The test binaries statically link liburing using liburing.a file. When liburing.a is recompiled, make sure the tests are also recompiled to ensure changes are applied to the test binary. It makes "make clean" command optional when making changes. 4. Same as no. 3, but for examples. please review, thx link v1: https://lore.kernel.org/io-uring/20220308224002.3814225-1-alviro.iskandar@xxxxxxxxxxx/ v1 -> v2: - Instruct the compiler to generate dependency files instead of hard code it in the Makefile. - Add liburing.a to dependency for test (patch 3). - Add liburing.a to dependency for examples (patch 4). Signed-off-by: Alviro Iskandar Setiawan <alviro.iskandar@xxxxxxxxxxx> --- Alviro Iskandar Setiawan (4): src/Makefile: Remove `-fomit-frame-pointer` from default build src/Makefile: Add header files as dependency test/Makefile: Add liburing.a as a dependency examples/Makefile: Add liburing.a as a dependency examples/Makefile | 2 +- src/Makefile | 13 ++++++------- test/Makefile | 4 ++-- 3 files changed, 9 insertions(+), 10 deletions(-) base-commit: 6231f56da7881bde6fb011e1b54d672f8fe5a224 -- 2.25.1