I’m trying to add an INCLUDE path for a header file that’s in a subdirectory, i.e. src/hello/hello.h. Any pointers on how to achieve this? Can’t seem to find the right place in the project properties.
Try an -I flag added to CFLAGS in makefile: example.
Yes, changing the CFLAGS in the makefile works. I expected an option in Appzone but this will do of course. Now, next related question. I have code in that subdirectory, i.e. src/hello/hello.c and src/hello/hello.h. How do I get appzone to include hello.c in the build?
Also in the makefile:
OBJS=$(patsubst %.c,%.o, $(wildcard src/hello/*.c))
Hit enter to search or ESC to close
Knowledge Base & Download Zone