Skip to content

Commit

Permalink
feat(xopt): add -M, -MM and -MF (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
mycoboco committed Jan 4, 2018
1 parent 9a620a9 commit 9d0ddcb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bcc/xopt.h
Expand Up @@ -36,6 +36,9 @@ xx("P", "-P", NULL, NULL, NULL,
xx("fshort-paths", "--path=short", NULL, NULL, NULL, "use header paths from #include verbatim")
XX("fcanonical-system-headers", "--path=canonical", NULL, NULL, NULL, NULL)
xx("fno-canonical-system-headers", "--path=long", NULL, NULL, NULL, "do not shorten header paths with canonicalization")
xx("M", "--make-deps-sys -Ew", NULL, NULL, NULL, "generate Makefile dependencies")
xx("MM", "--make-deps -Ew", NULL, NULL, NULL, "like -M but ignore system headers")
xx("MF ?", "-o $", NULL, NULL, "<file>", "write Makefile dependencies to <file>")
xx("H", "-H", NULL, NULL, NULL, "print #include hierarchy")
xx("dM", "--list-macro-defs", NULL, NULL, NULL, "list #define directives for all defined macros")

Expand Down

0 comments on commit 9d0ddcb

Please sign in to comment.