This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

GNU Make + C166

Good day!

Can I get from C166/EC166 compilers information about all nested includes such as -M, -MM, -MD, -MMD keys for GCC compiler?

If not, I can only use make for rebuild target?

Parents
  • ECHO := $(QUIET)$(ECHO_PLAIN)

    What is QUIET? @?
    I attempt to use without any "QUIET" and have following trouble:
    echo2 (unix) doesn't print anything to file, but file creates and empty strings adds. (only from make!!)
    from cmd echo2 works good without any troubles, why?

    this echo2 string good works from cmd, but not works from make:

    [TAB]echo2 "any text" >> 1.dat
    


    -E key don't care.

Reply
  • ECHO := $(QUIET)$(ECHO_PLAIN)

    What is QUIET? @?
    I attempt to use without any "QUIET" and have following trouble:
    echo2 (unix) doesn't print anything to file, but file creates and empty strings adds. (only from make!!)
    from cmd echo2 works good without any troubles, why?

    this echo2 string good works from cmd, but not works from make:

    [TAB]echo2 "any text" >> 1.dat
    


    -E key don't care.

Children
  • What is QUIET? @?

    Yep. This way you can set/unset the QUIET macro in one place to do some debugging.

    Works in cmd.exe but not in GNU make...? That's weird.

    .PHONY: all
    all:
    [TAB]echo2 "this is a test" >> 1.dat
    

    W:\>gmake -f test.mk
    echo2 "this is a test" >> 1.dat W:\>cat 1.dat
    this is a test W:\>gmake -v
    GNU Make 3.81
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software; see the source for copying
    conditions.
    There is NO warranty; not even for MERCHANTABILITY or
    FITNESS FOR A PARTICULAR PURPOSE. This program built for Windows32 (HAVE_CASE_INSENSITIVE_FS) W:\> _

    Working fine here. GNU make 3.81 .