Is there a way to compile only the files recently modified?
That's the normal behaviour.
As Tim wrote, make sure not to hit rebuild instead of build accidently.
Check the time stamps of your files, where do you save them ?
And be aware, that if you change include files, that might also lead to a recompile of an unchanged file.