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

Make Files and uVision2

I'm using uVision2 v2.12. Does it produce make files for others to use? What if you want someone to be able to build files without having to know anything about uVision? I don't want to use uVision2 and then have to turn around and hand produce make files for the test folks. I know many other tool chains that offer this feature, but am new to Keil-world. Comments? Advise?

Parents Reply Children
  • http://www.keil.com/support/docs/868.htm
    Refers to the C166 document, but the principle's exactly the same for C51.
    The document is GS51.pdf - you can open it from the 'Books' tab in the uVision Project window.

    All the C51 tools can be run individually from the command-line, so there's nothing to stop you creating a makefile if you want to.
    uVision shows you the command line options at the foot of each tab in the "Target Options."

    If you write your code carefully, you can make it compile under other tools (MSVC, Borland, etc) - then you could use those tools to create the dependencies etc for your makefile and adapt it for the Keil tools as appropriate.

    Doing so can also give you other benefits - like better diagnostics, browsing, etc
    NB: You only want it to compile - making it run on another target is a whole new ballgame...!