mirror of https://github.com/acidanthera/audk.git
BaseTools: Update Makefile to work at absolute path
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com>
This commit is contained in:
parent
c40dbe5e7b
commit
84e076c861
|
@ -23,6 +23,6 @@ all: $(MAKEROOT)/bin $(APPLICATION)
|
|||
$(APPLICATION): $(OBJECTS)
|
||||
$(LINKER) -o $(APPLICATION) $(BUILD_LFLAGS) $(OBJECTS) -L$(MAKEROOT)/libs $(LIBS)
|
||||
|
||||
$(OBJECTS): ../Include/Common/BuildVersion.h
|
||||
$(OBJECTS): $(MAKEROOT)/Include/Common/BuildVersion.h
|
||||
|
||||
include $(MAKEROOT)/Makefiles/footer.makefile
|
||||
|
|
|
@ -19,7 +19,7 @@ $(APPLICATION) : $(OBJECTS)
|
|||
-@if not exist $(BIN_PATH) mkdir $(BIN_PATH)
|
||||
$(LD) /nologo /debug /OPT:REF /OPT:ICF=10 /incremental:no /nodefaultlib:libc.lib /out:$@ $(LIBS) $**
|
||||
|
||||
$(OBJECTS) : ..\Include\Common\BuildVersion.h
|
||||
$(OBJECTS) : $(SOURCE_PATH)\Include\Common\BuildVersion.h
|
||||
|
||||
.PHONY:clean
|
||||
.PHONY:cleanall
|
||||
|
@ -30,5 +30,5 @@ clean:
|
|||
cleanall:
|
||||
del /f /q $(OBJECTS) $(APPLICATION) *.pdb $(BIN_PATH)\$(APPNAME).pdb > nul
|
||||
|
||||
!INCLUDE ..\Makefiles\ms.rule
|
||||
!INCLUDE $(SOURCE_PATH)\Makefiles\ms.rule
|
||||
|
||||
|
|
Loading…
Reference in New Issue