Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
C-Programming/C Project/Basic_Calculator/Basic_Calculator.mk
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
110 lines (91 sloc)
3.21 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
## Auto Generated makefile by CodeLite IDE | |
## any manual changes will be erased | |
## | |
## Debug | |
ProjectName :=Basic_Calculator | |
ConfigurationName :=Debug | |
WorkspacePath :="/home/topartioliver/C-Programming/C Project" | |
ProjectPath :="/home/topartioliver/C-Programming/C Project/Basic_Calculator" | |
IntermediateDirectory :=./Debug | |
OutDir := $(IntermediateDirectory) | |
CurrentFileName := | |
CurrentFilePath := | |
CurrentFileFullPath := | |
User :=topartioliver | |
Date :=12/13/20 | |
CodeLitePath :=/home/topartioliver/.codelite | |
LinkerName :=gcc | |
SharedObjectLinkerName :=gcc -shared -fPIC | |
ObjectSuffix :=.o | |
DependSuffix :=.o.d | |
PreprocessSuffix :=.o.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 :="Basic_Calculator.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 := ar rcus | |
CXX := gcc | |
CC := gcc | |
CXXFLAGS := -g -O0 -Wall $(Preprocessors) | |
CFLAGS := -g -O0 -Wall $(Preprocessors) | |
ASFLAGS := | |
AS := as | |
## | |
## User defined environment variables | |
## | |
CodeLiteDir:=/usr/share/codelite | |
Objects0=$(IntermediateDirectory)/main.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/topartioliver/C-Programming/C Project/Basic_Calculator/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 | |
-include $(IntermediateDirectory)/*$(DependSuffix) | |
## | |
## Clean | |
## | |
clean: | |
$(RM) -r ./Debug/ | |