I have a Qt project file with the line
Qt Code:
  1. CONFIG += debug_and_release
To copy to clipboard, switch view to plain text mode 
and I am able to do a
Qt Code:
  1. make debug
To copy to clipboard, switch view to plain text mode 
and
Qt Code:
  1. make release
To copy to clipboard, switch view to plain text mode 
, and the executable will reflect whichever one I did last.

The problem is, that once both executables are up to date, I want to easily switch between the two. If I've built in release mode, then debug mode, I can't build again in release mode unless I do a clean, since the executable file and object files are up to date. I get
Qt Code:
  1. make[1]: Nothing to be done for `first'.
To copy to clipboard, switch view to plain text mode 

Is there a way to force the relink?