I would like to select all the files in the directory, but using FreeBSD make.
In GNU, this approach works:
FILES=$(wildcard *.c)
I use FreeBSD make, not GNU make, so I'm looking for a command that will work in FreeBSD make.
As stated in the link below, FreeBSD has its own functions, but I cannot find them.
Generic Makefile not working on FreeBSD
source share