makefile-working with envirnoment variables [message #980899] |
Sun, 11 November 2012 21:43  |
Eclipse User |
|
|
|
Hi,
I have written a makefile. This makefile is to be checked into svn. I used environment variables for my project directory path so that different computers can run the makefile without having to make changes to it.
for example:
PRJ_ROOT_DIR := $(REF_DIR)/projectName/trunk/Temp
where environment variable REF_DIR is C:/Users/myName/Desktop.
However, by just building the project, makefile automatically changed to:
PRJ_ROOT_DIR := C:/Users/myName/Desktop/projectName/trunk/Temp
This shows up in SVN that makefile has been modified.
How do i do it such that makefile remains as
PRJ_ROOT_DIR := $(REF_DIR)/projectName/trunk/Temp? Where changes is done in the background and not showed up on the built makefile so that SVN will not detect the change?
Thank you.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03214 seconds