How about using `$(CC)` instead of gcc.