1 Star 0 Fork 0

盲大人/slang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
slang.mk 5.38 KB
一键复制 编辑 原始数据 按行查看 历史
盲大人 提交于 2015-11-06 01:36 . init commit
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Debug
ProjectName :=slang
ConfigurationName :=Debug
WorkspacePath := "/home/xkaying/workspace/simple/scc"
ProjectPath := "/home/xkaying/workspace/simple/scc/slang"
IntermediateDirectory :=./Debug
OutDir := $(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=xkaying
Date :=2015年11月06日
CodeLitePath :="/home/xkaying/.codelite"
LinkerName :=/usr/bin/g++
SharedObjectLinkerName :=/usr/bin/g++ -shared -fPIC
ObjectSuffix :=.o
DependSuffix :=.o.d
PreprocessSuffix :=.i
DebugSwitch :=-g
IncludeSwitch :=-I
LibrarySwitch :=-l
OutputSwitch :=-o
LibraryPathSwitch :=-L
PreprocessorSwitch :=-D
SourceSwitch :=-c
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
Preprocessors :=
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
ObjectsFileList :="slang.txt"
PCHCompileFlags :=
MakeDirCommand :=mkdir -p
LinkOptions :=
IncludePath := $(IncludeSwitch). $(IncludeSwitch).
IncludePCH :=
RcIncludePath :=
Libs :=
ArLibs :=
LibPath := $(LibraryPathSwitch).
##
## Common variables
## AR, CXX, CC, AS, CXXFLAGS and CFLAGS can be overriden using an environment variables
##
AR := /usr/bin/ar rcu
CXX := /usr/bin/g++
CC := /usr/bin/gcc
CXXFLAGS := -g -O0 -Wall $(Preprocessors)
CFLAGS := -g -O0 -std=c99 -Wall $(Preprocessors)
ASFLAGS :=
AS := /usr/bin/as
##
## User defined environment variables
##
CodeLiteDir:=/usr/share/codelite
Objects0=$(IntermediateDirectory)/main.c$(ObjectSuffix) $(IntermediateDirectory)/location.c$(ObjectSuffix) $(IntermediateDirectory)/token.c$(ObjectSuffix) $(IntermediateDirectory)/lexer.c$(ObjectSuffix)
Objects=$(Objects0)
##
## Main Build Targets
##
.PHONY: all clean PreBuild PrePreBuild PostBuild MakeIntermediateDirs
all: $(OutputFile)
$(OutputFile): $(IntermediateDirectory)/.d $(Objects)
@$(MakeDirCommand) $(@D)
@echo "" > $(IntermediateDirectory)/.d
@echo $(Objects0) > $(ObjectsFileList)
$(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions)
MakeIntermediateDirs:
@test -d ./Debug || $(MakeDirCommand) ./Debug
$(IntermediateDirectory)/.d:
@test -d ./Debug || $(MakeDirCommand) ./Debug
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/main.c$(ObjectSuffix): main.c $(IntermediateDirectory)/main.c$(DependSuffix)
$(CC) $(SourceSwitch) "/home/xkaying/workspace/simple/scc/slang/main.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/main.c$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/main.c$(DependSuffix): main.c
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/main.c$(ObjectSuffix) -MF$(IntermediateDirectory)/main.c$(DependSuffix) -MM "main.c"
$(IntermediateDirectory)/main.c$(PreprocessSuffix): main.c
@$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main.c$(PreprocessSuffix) "main.c"
$(IntermediateDirectory)/location.c$(ObjectSuffix): location.c $(IntermediateDirectory)/location.c$(DependSuffix)
$(CC) $(SourceSwitch) "/home/xkaying/workspace/simple/scc/slang/location.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/location.c$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/location.c$(DependSuffix): location.c
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/location.c$(ObjectSuffix) -MF$(IntermediateDirectory)/location.c$(DependSuffix) -MM "location.c"
$(IntermediateDirectory)/location.c$(PreprocessSuffix): location.c
@$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/location.c$(PreprocessSuffix) "location.c"
$(IntermediateDirectory)/token.c$(ObjectSuffix): token.c $(IntermediateDirectory)/token.c$(DependSuffix)
$(CC) $(SourceSwitch) "/home/xkaying/workspace/simple/scc/slang/token.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/token.c$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/token.c$(DependSuffix): token.c
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/token.c$(ObjectSuffix) -MF$(IntermediateDirectory)/token.c$(DependSuffix) -MM "token.c"
$(IntermediateDirectory)/token.c$(PreprocessSuffix): token.c
@$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/token.c$(PreprocessSuffix) "token.c"
$(IntermediateDirectory)/lexer.c$(ObjectSuffix): lexer.c $(IntermediateDirectory)/lexer.c$(DependSuffix)
$(CC) $(SourceSwitch) "/home/xkaying/workspace/simple/scc/slang/lexer.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/lexer.c$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/lexer.c$(DependSuffix): lexer.c
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/lexer.c$(ObjectSuffix) -MF$(IntermediateDirectory)/lexer.c$(DependSuffix) -MM "lexer.c"
$(IntermediateDirectory)/lexer.c$(PreprocessSuffix): lexer.c
@$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/lexer.c$(PreprocessSuffix) "lexer.c"
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) -r ./Debug/
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/xkaying/slang.git
[email protected]:xkaying/slang.git
xkaying
slang
slang
master

搜索帮助