Skip to content
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

refactor makefile #1

Open
jamesalbert opened this issue Jun 2, 2017 · 1 comment
Open

refactor makefile #1

jamesalbert opened this issue Jun 2, 2017 · 1 comment

Comments

@jamesalbert
Copy link
Owner

right now, the main thing we want to separate is how the code gets compiled depending if it's for deployment or testing. The following flags are specified for the corresponding environment:

deployment/prod (for .o and .c files):

-std=c11 -O3 -fno-inline -fno-stack-protector

testing (for .o files):

-ftest-coverage -fprofile-arcs -fPIC

testing (for .c files):

-std=c11 -O0 -ftest-coverage -fprofile-arcs

Right now the makefile is a bunch of commented out, hard to read garbage and it needs to be fixed

@jamesalbert
Copy link
Owner Author

Makefile has been refactored, but I'm gonna keep this issue open because there's room for improvement

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

No branches or pull requests

1 participant