Ignore:
Timestamp:
Oct 5, 2009, 8:27:34 PM (16 years ago)
Author:
Dmitry A. Kuminov
Message:

qmake: Always pass $(MAKEFILE) as argument in custom defined tragets as it's not necessarily Makefile [vendor bug].

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qmake/generators/makefile.cpp

    r189 r199  
    25642564                MAKE_CD_IN_AND_OUT(out_directory);
    25652565
    2566                 //don't need the makefile arg if it isn't changed
    2567                 QString makefilein;
    2568                 if(subtarget->makefile != "$(MAKEFILE)")
    2569                     makefilein = " -f " + subtarget->makefile;
     2566                // note that we always pass the makefile as argument since it's
     2567                // hard to tell if it matches the platform make's default
     2568                // file name or not (and it can be also specified indirectly
     2569                // through $(MAKEFILE))
     2570                QString makefilein = " -f " + subtarget->makefile;
    25702571
    25712572                //write the rule/depends
Note: See TracChangeset for help on using the changeset viewer.