gfmoore
100 W
gfmoore said:However, I think I've slain it, though it might get up and roast me yet.
I've been singed!!
I didn't think about a command shell I was using i.e. cmder. This allows use of Linux like commands such as ls.
Now that I'm trying to get build to run from VS Code (as a task) I'm finding that there is a line:
CUSTOM_SOURCES=$(shell find spl ugui_driver *.c -type f -iname '*.c')
That doesn't work. I had replaced it with:
CUSTOM_SOURCES = $(shell ls spl\CMSIS\*.c spl\src\*.c ugui_driver\*.c *.c)
Which worked, but not from a pure command prompt only in "cmder".
The following finds all the files under cmd, but when in the Makefile it create a command window that disappears and seems to stop make.
CUSTOM_SOURCES = $(shell dir /B spl\CMSIS\*.c spl\src\*.c ugui_driver\*.c *.c)
I've tried setting MAKESHELL=command, but no joy. https://www.gnu.org/software/make/manual/html_node/Choosing-the-Shell.html
Oh, well, keep researching ... At the end of the day I can always enumerate each file.
It's not far off. :wink: