|Subject:||[avr-chat] files in outside directory|
|Date:||Mon, 21 Jun 2010 00:38:43 +0400|
I have a question about, I think, makefile configuration.
Now I am working at two adjacent projects. There is group of files (.c & .h) used in both projects.
I would like to keep this files in some directory outside of the main project folders; do not want to copy this files again and again every time as something changed.
I.e., my directory structure looks like that:
But how am I to setup makefile?
I have tried to add
EXTRAINCDIRS = ../common_dir/
SRC = "" \
but result was
make: *** No rule to make target `project1.elf', needed by `elf'. Stop.
make: *** [build] Error 2
What can I do?
Thanks a lot.
|[Prev in Thread]||Current Thread||[Next in Thread]|