how to add a sub directory to compile?

vernon
Posts: 3
Joined: Tue Mar 20, 2018 6:52 am

how to add a sub directory to compile?

Postby vernon » 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

ESP_Sprite
Posts: 9757
Joined: Thu Nov 26, 2015 4:08 am

Re: how to add a sub directory to compile?

Postby ESP_Sprite » Wed Mar 21, 2018 1:35 am

Moved news -> SDK

Who is online

Users browsing this forum: No registered users and 351 guests