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

How to specify a relative directory in makefile

How to specify a relative directory in makefile. My c51 compiler version is 5.10. Whether the directive"INCDIR" could be used in makefile? what format for it?

Thanks for any help in advance!

Parents
  • Hi, Hans-Bernhard,

    Thanks for your response!

    Yes, You are right! The make utility I'm using is borland make(ver 5.20).
    I had done an experiment and the statements had been modified as follows:
    C51FLAGS = DB OE PR WL(1) NOAM $(INCLUDES)

    When make file was invoked by make utility, the error message ocurred "FATAL: unenable to execute command".

    I mean that I want to use the definition "INCUDES" for C51 compiler.
    what should I do?

    Anyone has the material on how to use borland make utility, please send me a copy or give me a link address.
    Thanks !

Reply
  • Hi, Hans-Bernhard,

    Thanks for your response!

    Yes, You are right! The make utility I'm using is borland make(ver 5.20).
    I had done an experiment and the statements had been modified as follows:
    C51FLAGS = DB OE PR WL(1) NOAM $(INCLUDES)

    When make file was invoked by make utility, the error message ocurred "FATAL: unenable to execute command".

    I mean that I want to use the definition "INCUDES" for C51 compiler.
    what should I do?

    Anyone has the material on how to use borland make utility, please send me a copy or give me a link address.
    Thanks !

Children