Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Show HN: Complete C++ Makefile Example
(
partow.net
)
6 points
by
ArashPartow
on Jan 4, 2020
|
hide
|
past
|
favorite
|
1 comment
duelingjello
on Jan 4, 2020
[–]
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.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Even better, use CMake, Conan or Bazel instead.