'Compile all C files in all of the children directories
So, I'm making a game with raylib and I need to compile all the .c files at once.
The files are in separate folder inside the 1st one(Like "MainFolder/PlayerFiles").
I know how that gcc -o game *.c -L/usr/local/lib -lraylib compiles all the files inside the directory and creates a exec.
How can I compile all the .c files in all of the children folders.
Thanks in advance!!!
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
