Show HN: Complete C++ Makefile Example
partow.net
Show HN: Complete C++ Makefile Example
1–2 of 2 posts
Re: Show HN: Complete C++ Makefile Example
#2This 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.