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

Fixes build process for macOS with homebrew: Add OS detection routine… #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cybern0id
Copy link

… to Makefile, facilitating dynamic allocation of compiler flags for missing libraries like libpng/png.h. Ensures no build errors on Mac when this repo is is used as submodule in mega65-core.

… to Makefile, facilitating dynamic allocation of compiler flags for missing libraries like libpng/png.h. Ensures no build errors on Mac when this repo is is used as submodule in mega65-core.
@lydon42 lydon42 self-assigned this Oct 11, 2022
@lydon42
Copy link
Member

lydon42 commented Oct 11, 2022

This needs to wait! Don't merge!

endif

ifeq ($(OSYSTEM),Darwin) # Apple macOS
GCOPT += -I/opt/homebrew/include -L/opt/homebrew/lib -Wno-unknown-pragmas
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah! I didn't mean to include the -Wno-unknown-pragmas switch as it was an experiment to see why m65fdisk won't build. I'll make another commit for m65fdisk fixes if I can work out why it won't build but I notice it isn't built when this is a submodule for mega65-core so perhaps it is not actually needed.

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