Build failing due to bad mk file
Posted: Tue Mar 19, 2013 2:29 am
Hi,
I have been using codelite for the last few months and it has been awesome. However I have finally run into my first issue and was hoping to get some help. My mk file has a bad setting called Objects1 as seen here:
When make attempts to run the @echo command it fails resulting in "ECHO is off" being written into my $project.txt file. This in turn causes the build to fail. Does anyone have any idea what would be causing an empty Objects1 parameter to get created in the .mk file?
I have been using codelite for the last few months and it has been awesome. However I have finally run into my first issue and was hoping to get some help. My mk file has a bad setting called Objects1 as seen here:
Code: Select all
##
## User defined environment variables
##
CodeLiteDir:=D:\Apps\CodeLite
Objects0=$(IntermediateDirectory)/src_fps$(ObjectSuffix) $(IntermediateDirectory)/src_game$(ObjectSuffix) $(IntermediateDirectory)/src_main$(ObjectSuffix) $(IntermediateDirectory)/src_entity$(ObjectSuffix) $(IntermediateDirectory)/glew_glew$(ObjectSuffix) $(IntermediateDirectory)/src_gl_utils$(ObjectSuffix) $(IntermediateDirectory)/src_file_utils$(ObjectSuffix) $(IntermediateDirectory)/src_render$(ObjectSuffix)
Objects1= #### freeman: THIS IS THE PROBLEM LINE. WHY IS THIS BEING GENERATED?
Objects=$(Objects0) $(Objects1)
##
## Main Build Targets
##
.PHONY: all clean PreBuild PrePreBuild PostBuild
all: $(OutputFile)
$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
@$(MakeDirCommand) $(@D)
@echo "" > $(IntermediateDirectory)/.d
@echo $(Objects0) > $(ObjectsFileList)
@echo $(Objects1) >> $(ObjectsFileList)
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)