[LLVMbugs] [Bug 10091] New: Please, add support of -MT option

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 6 14:14:46 PDT 2011


           Summary: Please, add support of -MT option
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: anton.kochkov at gmail.com
                CC: llvmbugs at cs.uiuc.edu

>From GCC help:

-MT target Change the target of the rule emitted by dependency generation. By
default CPP takes the name of the main input file, deletes any directory
components and any file suffix such as `.c', and appends the platform's usual
object suffix. The result is the target.

An -MT option will set the target to be exactly the string you specify. If you
want multiple targets, you can specify them as a single argument to -MT, or use
multiple -MT options.

For example, -MT '$(objpfx)foo.o' might give
         $(objpfx)foo.o: foo.c

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list