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

addon_config.make update #87

Closed

Conversation

Jonathhhan
Copy link
Collaborator

@Jonathhhan Jonathhhan commented Apr 10, 2024

I adopted the flags from current ofxPd (also the style). Maybe check if it does not break anything / evrything is needed.
Feel free to keep the old style.
But what I need to add to make it work (at least for compiling with Emscripten) is:

ADDON_CFLAGS = -DPD_INTERNAL
# this is included directly in pd~.c, don't build twice
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/pure-data/extra/pd~/binarymsg.c
# not needed
ADDON_SOURCES_EXCLUDE += libs/ofxPd/libs/libpd/pure-data/src/m_dispatch_gen.c

@Jonathhhan
Copy link
Collaborator Author

Jonathhhan commented May 12, 2024

I guess this won't be needed, because m_dispatch_gen.c is excluded in current libpd anyways (which was not the case, when I made this PR).

@Jonathhhan Jonathhhan closed this May 14, 2024
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.

None yet

2 participants