Skip to content

Makefile: Use implicit rules for compiling C, honour flags #43

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

nicoonoclaste
Copy link
Contributor

In addition to being shorter, this does the right thing with regards to
honouring various flags: not only CFLAGS and LDFLAGS, but also CPPFLAGS.

CPPFLAGS are the flags passed to cpp (the C PreProcessor); for example,
we use -D_FORTIFY_SOURCE=2 in Debian for build hardening.

@skeeto skeeto closed this in 4cb4fc6 Feb 16, 2020
@skeeto
Copy link
Owner

skeeto commented Feb 16, 2020 via email

sthagen added a commit to sthagen/skeeto-endlessh that referenced this pull request Feb 18, 2020
Use CPPFLAGS in the Makefile (closes skeeto#43)
@nicoonoclaste nicoonoclaste deleted the cppflags branch March 31, 2020 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants