how to add a sub directory to compile?
Posted: Tue Mar 20, 2018 7:04 am
Hello,
I want to have a sub directory into my project for compile?
following structure is from the example, I want to add a sub directory named my_module, how to add this sub directory for compiling? how to write the mk file under my_module directory?
../main
../...../main.c
../...../component.mk
../Makefile
../READ.me
../my_module
../............../module1.c
../............./module1.h
../............./component.mk
I want to have a sub directory into my project for compile?
following structure is from the example, I want to add a sub directory named my_module, how to add this sub directory for compiling? how to write the mk file under my_module directory?
../main
../...../main.c
../...../component.mk
../Makefile
../READ.me
../my_module
../............../module1.c
../............./module1.h
../............./component.mk