-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo_cli.mk
126 lines (103 loc) · 5.28 KB
/
todo_cli.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Release
ProjectName :=todo_cli
ConfigurationName :=Release
WorkspacePath :=/home/slaterbbx/Documents/code/todo.cli
ProjectPath :=/home/slaterbbx/Documents/code/todo.cli
IntermediateDirectory :=$(ConfigurationName)
OutDir := $(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=Kyle Gallagher
Date :=23/02/22
CodeLitePath :=/home/slaterbbx/.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 :="todo_cli.txt"
PCHCompileFlags :=
MakeDirCommand :=mkdir -p
LinkOptions := -O0
IncludePath := $(IncludeSwitch). $(IncludeSwitch). $(IncludeSwitch)include
IncludePCH :=
RcIncludePath :=
Libs :=
ArLibs :=
LibPath := $(LibraryPathSwitch). $(LibraryPathSwitch). $(LibraryPathSwitch)Debug
##
## 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 := -std=c++17 -g -Wall $(Preprocessors)
CFLAGS := $(Preprocessors)
ASFLAGS :=
AS := /usr/bin/as
##
## User defined environment variables
##
CodeLiteDir:=/usr/share/codelite
Objects0=$(IntermediateDirectory)/src_FileManager.cpp$(ObjectSuffix) $(IntermediateDirectory)/src_Main.cpp$(ObjectSuffix) $(IntermediateDirectory)/src_Example.cpp$(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 $(ConfigurationName) || $(MakeDirCommand) $(ConfigurationName)
$(IntermediateDirectory)/.d:
@test -d $(ConfigurationName) || $(MakeDirCommand) $(ConfigurationName)
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/src_FileManager.cpp$(ObjectSuffix): src/FileManager.cpp $(IntermediateDirectory)/src_FileManager.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/slaterbbx/Documents/code/todo.cli/src/FileManager.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/src_FileManager.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/src_FileManager.cpp$(DependSuffix): src/FileManager.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/src_FileManager.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/src_FileManager.cpp$(DependSuffix) -MM src/FileManager.cpp
$(IntermediateDirectory)/src_FileManager.cpp$(PreprocessSuffix): src/FileManager.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/src_FileManager.cpp$(PreprocessSuffix) src/FileManager.cpp
$(IntermediateDirectory)/src_Main.cpp$(ObjectSuffix): src/Main.cpp $(IntermediateDirectory)/src_Main.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/slaterbbx/Documents/code/todo.cli/src/Main.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/src_Main.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/src_Main.cpp$(DependSuffix): src/Main.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/src_Main.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/src_Main.cpp$(DependSuffix) -MM src/Main.cpp
$(IntermediateDirectory)/src_Main.cpp$(PreprocessSuffix): src/Main.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/src_Main.cpp$(PreprocessSuffix) src/Main.cpp
$(IntermediateDirectory)/src_Example.cpp$(ObjectSuffix): src/Example.cpp $(IntermediateDirectory)/src_Example.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/slaterbbx/Documents/code/todo.cli/src/Example.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/src_Example.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/src_Example.cpp$(DependSuffix): src/Example.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/src_Example.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/src_Example.cpp$(DependSuffix) -MM src/Example.cpp
$(IntermediateDirectory)/src_Example.cpp$(PreprocessSuffix): src/Example.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/src_Example.cpp$(PreprocessSuffix) src/Example.cpp
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) -r $(ConfigurationName)/