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
  • for help with your specific version of make, you'll have to read the appropriate Manual.

    What does your C51 Manual say about the INCDIR directive?
    The current C51 version just supports any valid path - relative or absolute.

    The latest tools are fine with long filenames, but can have problems with spaces in file or pathnames - you might well find that an old version like yours supports neither.

Reply
  • for help with your specific version of make, you'll have to read the appropriate Manual.

    What does your C51 Manual say about the INCDIR directive?
    The current C51 version just supports any valid path - relative or absolute.

    The latest tools are fine with long filenames, but can have problems with spaces in file or pathnames - you might well find that an old version like yours supports neither.

Children
More questions in this forum