BaseTools: Update Makefile to work at absolute path
[mirror_edk2.git] / BaseTools / Source / C / Makefiles / ms.app
index 93d51f9..37b7446 100644 (file)
@@ -19,7 +19,7 @@ $(APPLICATION) : $(OBJECTS)
        -@if not exist $(BIN_PATH) mkdir $(BIN_PATH)\r
        $(LD) /nologo /debug /OPT:REF /OPT:ICF=10 /incremental:no /nodefaultlib:libc.lib /out:$@ $(LIBS) $**\r
 \r
-$(OBJECTS) : ..\Include\Common\BuildVersion.h\r
+$(OBJECTS) : $(SOURCE_PATH)\Include\Common\BuildVersion.h\r
 \r
 .PHONY:clean\r
 .PHONY:cleanall\r
@@ -30,5 +30,5 @@ clean:
 cleanall:\r
        del /f /q $(OBJECTS) $(APPLICATION) *.pdb $(BIN_PATH)\$(APPNAME).pdb > nul\r
 \r
-!INCLUDE ..\Makefiles\ms.rule\r
+!INCLUDE $(SOURCE_PATH)\Makefiles\ms.rule\r
 \r