Solved makefile $(wildcard *.c) , how to do it in FreeBSD?

makefile $(wildcard *.c), how to do it in FreeBSD?

In GNU make, it's work!

in FreeBSD 10.1 's make, it's not work!
 
Code:
BLA!=ls *.c
Then use ${BLA} somewhere, or
Code:
${:!ls *.c!}
But there is nothing wrong in using GNU Make on FreeBSD. Install devel/gmake and use gmake to run it.
 
Back
Top