|makefile-working with envirnoment variables [message #980899]
||Sun, 11 November 2012 21:43
| Celine Chia
Registered: November 2012
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.
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?
Powered by FUDForum
. Page generated in 0.01850 seconds