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

dr-mdr

Member

Thanks: 1
Messages: 35

#1
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!
 

tobik@

Daemon
Developer

Thanks: 1,341
Messages: 1,909

#2
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.
 
Top