I was wondering if someone can help with this .. I guess its a bit basic with regards to Makefiles but I'm more of a Make novice.. any help is appreciated..
Could Still use some help on this. I'm seeing another issue. I tried to remove the use of the wifi_config_dct.h file by removing the reference in the makefile. Weirdly, after doing this, my project directory in the Apps folder is no longer searched for Include files.
Hi seyhan, I was wondering if you were able to get any leads on this issue. I want to be able to some folders to the Include search paths when building my application and I'm not sure how to add this to the make file. Basically I want to add a -I path to the compiler flags. Any help here is appreciated.
1 of 1 people found this helpful
You may add an directory for your source and header files to your application.
Here is an example for adding mysource directory for your source files and adding myheader directory for header files.
Assume these files are for your application:
Here is your make file .../apps/YourAppDirectoyInWicedSDK/myapp.mk
NAME := App_MyApp
$(NAME)_SOURCES := myapp.c \
$(NAME)_INCLUDES += -I ./myheader
You may include the myheader.h file in myapp.c as #include "myheader.h".
Hope it helps,