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

move CFLAGS and DEFS definitions #467

Merged
merged 1 commit into from
Sep 14, 2021
Merged

move CFLAGS and DEFS definitions #467

merged 1 commit into from
Sep 14, 2021

Conversation

ckuethe
Copy link
Collaborator

@ckuethe ckuethe commented Sep 10, 2021

First, create some generic CFLAGS, with some warnings and optimizations. Do the same for some macros.

Then the platform-specific configurations run, appending to CFLAGS, ZWOSDK, and DEFS as appropriate.

Finally, combine these into the actual CFLAGS that will be passed to the compiler. Found while wondering why "-O2" wasn't working for me.

Also removed $(COMMON) which wasn't defined anywhere and I suspect was copied from the ZWO SDK example makefile, and added a note to the armv7 section about maybe switching to opencv4.

First, create some generic CFLAGS, with some warnings and optimizations.
Do the same for some macros.

Then the platform-specific configurations run, appending to CFLAGS, ZWOSDK,
and DEFS as appropriate.

Finally, combine these into the actual CFLAGS that will be passed to the
compiler. Found while wondering why "-O2" wasn't working for me.
@thomasjacquin thomasjacquin merged commit 9e5a01b into AllskyTeam:master Sep 14, 2021
@ckuethe ckuethe deleted the fix_makefile branch September 14, 2021 03:39
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