Search notes:

make: wildcard

When make sees a (Bourne shell) wildcard (such as *, ~, ?, […] and [^…]) in a rule or a prerequisite, they're expanded to the names of the files that match the wildcard.
The following makefile tries to create an executable from all *.c files it find in the current directory.
prog: *.c
	$(CC) -o $@ $^
Github repository about-Makefile, path: /wildcard/example-1/Makefile
Wildcards in commands are passed to the shell. So, these are not expanded when the makefile is run, but only when the command is run.

See also

$(wildcard …)

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1745814945, '3.145.164.105', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/make/wildcard/index(48): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78