Hi all,
I have two project files 1) Project1.pro 2) Project2.pro and a makefile basically GNUMakefile...

Project2.pro contains some *.h and *.cpp files..
makefile has all the information for compiling and linking a different application.

What I want is, when I say
Qt Code:
  1. qmake Project1.pro
  2. make clean
  3. make
To copy to clipboard, switch view to plain text mode 
First makefile(GNUMakefile) should be compiled and linked then files in Project2.pro should be compiled and linked to create an executable file. This basically means Proejct2.pro is dependent on GNUMakefile

Please let me what contents should be there in Project1.pro to make that happen.

Thanks