Quote Originally Posted by vermarajeev View Post
Not on my system

I tried putting

Qt Code:
  1. PRE_TARGETDEPS += dummy
  2. MKFL = ../cryp/GNUmakefile //cryp is a directory where the GNUmakefile is present
  3. tst.input = MKFL
  4. tst.commands = cd ../cryp && make
  5. tst.CONFIG = no_link
  6. tst.output = dummy
  7.  
  8. QMAKE_EXTRA_COMPILERS += tst
To copy to clipboard, switch view to plain text mode 
in ce.pro (project file)

I get this error
Qt Code:
  1. [raj@fedora4 cmbedit]# qmake ce.pro
  2. [raj@fedora4 cmbedit]# make clean
  3. rm -f *~ core *.core
  4. [raj@fedora4 cmbedit]# make
  5. make: *** No rule to make target `dummy', needed by `ce'. Stop.
  6. [raj@fedora4 cmbedit]#
To copy to clipboard, switch view to plain text mode 

By the way I think the problem is with version.
I have qt3.3.5 on my system. Will the above soultion work for it(Qt3.3.5)???

I have attached GNUmakefile. I dont think there is any problem with it.
By the way what is that dummy????
I went through Qt Assistance and found this
Qt Code:
  1. PRE_TARGETDEPS
  2. All libraries that the target depends on can be listed in this variable. Some backends do not support this, these include MSVC Dsp, and ProjectBuilder .pbproj files. Generally this is support internally by these build tools, this is usefull for explicitly listing dependant static libraries.
  3. This list will go before all builtin dependencies.
To copy to clipboard, switch view to plain text mode 

I think the above commands will work with qt3.3.5. I got to know after I went through Qt assistance. I'm just trying out something. Let's see if it works....