Re:Show HN: Complete C++ Makefile Example
by duelingjello on Saturday January 04, 2020 @05:20AM
(#21954070)
This uses GNU-specific extensions. Always use the GNUmakefile filename instead of just Makefile to avoid this sort of confusion. And, to allow for environment variable and CLI overrides, use the ?= operator instead of := for flags and command names.
Even better, use CMake, Conan or Bazel instead.