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

Makefile should allow a user editable dependency directories #7

Open
jacobrosenthal opened this issue Feb 11, 2015 · 0 comments
Open

Comments

@jacobrosenthal
Copy link

In testing I've found I need to bring in a few other libraries. I'm currently doing this like so

DEP_DIR = ../../ringbuffer

# Flags passed to the preprocessor.
# Set Google Test's header directory as a system directory, such that
# the compiler doesn't generate warnings in Google Test headers.
CPPFLAGS += -isystem $(GTEST_DIR)/include -isystem $(GMOCK_DIR)/include \
        -I$(ARDUINO_MOCK_DIR)/include/arduino-mock/ \
        -I$(DEP_DIR)

but it only allows for a single include. If you're amenable some kind of bash iterator should allow a list of directories to be added

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