Generated makefile does not include all folders
Using the latest version of System Workbench and creating a static library. The library does not show any errors. When the library gets built, referencing what I thought would be a file showed an error. After poking around, I found out the makefile that was generated did not include all the files.
The tree of the src directory is:
.
├── Boot
├── Coapt.h
├── debug
├── Engine
├── EventHandler
│ ├── EventHandler.c
│ └── EventHandler.h
├── Init
└── IODevices
└── IODeviceInterface.h
At the beginning of the makefile in Debug:
- All of the sources participating in the build are defined here
-include sources.mk
-include src/EventHandler/subdir.mk
-include subdir.mk
-include objects.mk
And the contents of sources.mk:
O_SRCS :=
C_SRCS :=
S_SRCS :=
S_UPPER_SRCS :=
OBJ_SRCS :=
ASM_SRCS :=
OBJS :=
C_DEPS :=
ARCHIVES :=
S_UPPER_DEPS :=
- Every subdirectory with source files must be described here
SUBDIRS := \
src/EventHandler \
Anyone have any idea why the subdirectories are left out?
I tried to add the src directory as an include path and nothing changed. Poked through and tried adding the src directory to any include path I could find to no avail. It seems like it thinks the main directory is the EventHandler directory and I cannot seem to change it.