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

Make building projects not libraries #4

Open
nixpulvis opened this issue Jun 1, 2017 · 0 comments
Open

Make building projects not libraries #4

nixpulvis opened this issue Jun 1, 2017 · 0 comments
Labels

Comments

@nixpulvis
Copy link
Owner

We can currently build libraries that depend on AVRM and each other, but projects that link these all together and really only need a main.c file are a bit unsupported. I'm currently using the following Makefile for these kinds of projects:

AVRM = /usr/local/Cellar/avrm/0.0.5
DS1307 = /usr/local/Cellar/ds1307/0.0.3
MAX7221 = /usr/local/Cellar/max7221/0.0.3
DEPENDENCIES = $(DS1307) $(MAX7221) $(AVRM)
LDLIBS = -lds1307 -lmax7221 -lavrm

include $(AVRM)/Makefile

Which yields warnings, but still technically works for flashing, and sizing, etc. I'd just like make to not output the following:

find: lib: No such file or directory
find: test: No such file or directory
find: lib: No such file or directory
find: test: No such file or directory
make: *** No rule to make target `libavrm.a()', needed by `all'.  Stop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant