Why '$' symbol is needed when specifying different directory level?

Posted on 2007-07-30
Last Modified: 2013-11-25
OS is Windowns XP.  We run clearmake with gnu make compatibility.  We recursively build libraries and applications.
The following macro is defined in the top level makefile.

# VOB_ROOT_R - VOB root relative to release directory
VOB_ROOT_R = ..$/..$/..

I'm familiar with ../../../ but what is the mening of '$' symobl in this macro?
Question by:naseeam
    LVL 6

    Expert Comment

    In unix it can denote the end of a line - so in this case, it can mean [any] two characters at the end of line.  
    LVL 7

    Accepted Solution

    You should check clearmake reference.

    Perhaps the $/ is clearmake syntax for a platform-independent directory delimiter - i.e. on windows it will expand to '\' (backslash) and on Posix-style platforms it will expand to '/'.

    - Ravs

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
    FreeBSD on EC2 FreeBSD ( is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
    The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
    The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now