Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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

Posted on 2007-07-30
Medium Priority
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

Expert Comment

ID: 19593707
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.  

Accepted Solution

ravs120499 earned 2000 total points
ID: 19598875
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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

571 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