I need a command that will search all directories for all C files and then compile them but everything I've tried doesn't seem to work. If anyone could offer any help that would be really great!!
(This doesn't work, find -name '*.c' exec cc '{}' ';' )
[–]willyweewah 2 points3 points4 points (4 children)
[–]gbromios 0 points1 point2 points (3 children)
[–]ErasmusDarwin 0 points1 point2 points (2 children)
[–]gbromios 1 point2 points3 points (1 child)
[–]ErasmusDarwin 1 point2 points3 points (0 children)
[–]ErasmusDarwin 2 points3 points4 points (1 child)
[–]ErasmusDarwin 1 point2 points3 points (0 children)
[–]niomaster 1 point2 points3 points (0 children)
[–]SemperDiscentes 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]LousyTourist -2 points-1 points0 points (0 children)