-
Notifications
You must be signed in to change notification settings - Fork 62
/
notekit.mk
150 lines (121 loc) · 7.64 KB
/
notekit.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Release
ProjectName :=notekit
ConfigurationName :=Release
WorkspacePath :=/d0/coding/notekit
ProjectPath :=/d0/coding/notekit
IntermediateDirectory :=./Release
OutDir := $(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=Matvey Soloviev
Date :=16/09/19
CodeLitePath :=/home/negativezero/.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 :=$(PreprocessorSwitch)NDEBUG
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
ObjectsFileList :="notekit.txt"
PCHCompileFlags :=
MakeDirCommand :=mkdir -p
LinkOptions := $(shell pkg-config --libs gtkmm-3.0) $(shell pkg-config --libs gtksourceviewmm-3.0) $(shell pkg-config --libs jsoncpp)
IncludePath := $(IncludeSwitch). $(IncludeSwitch).
IncludePCH :=
RcIncludePath :=
Libs := $(LibrarySwitch)z
ArLibs := "z"
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 := $(shell pkg-config --cflags gtkmm-3.0) $(shell pkg-config --cflags gtksourceviewmm-3.0) $(shell pkg-config --cflags jsoncpp) -O2 -Wall $(Preprocessors)
CFLAGS := -O2 -Wall $(Preprocessors)
ASFLAGS :=
AS := /usr/bin/as
##
## User defined environment variables
##
CodeLiteDir:=/usr/share/codelite
Objects0=$(IntermediateDirectory)/imagewidgets.cpp$(ObjectSuffix) $(IntermediateDirectory)/drawing.cpp$(ObjectSuffix) $(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IntermediateDirectory)/navigation.cpp$(ObjectSuffix) $(IntermediateDirectory)/notebook.cpp$(ObjectSuffix) $(IntermediateDirectory)/mainwindow.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 ./Release || $(MakeDirCommand) ./Release
$(IntermediateDirectory)/.d:
@test -d ./Release || $(MakeDirCommand) ./Release
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/imagewidgets.cpp$(ObjectSuffix): imagewidgets.cpp $(IntermediateDirectory)/imagewidgets.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/d0/coding/notekit/imagewidgets.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/imagewidgets.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/imagewidgets.cpp$(DependSuffix): imagewidgets.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/imagewidgets.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/imagewidgets.cpp$(DependSuffix) -MM imagewidgets.cpp
$(IntermediateDirectory)/imagewidgets.cpp$(PreprocessSuffix): imagewidgets.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/imagewidgets.cpp$(PreprocessSuffix) imagewidgets.cpp
$(IntermediateDirectory)/drawing.cpp$(ObjectSuffix): drawing.cpp $(IntermediateDirectory)/drawing.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/d0/coding/notekit/drawing.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/drawing.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/drawing.cpp$(DependSuffix): drawing.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/drawing.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/drawing.cpp$(DependSuffix) -MM drawing.cpp
$(IntermediateDirectory)/drawing.cpp$(PreprocessSuffix): drawing.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/drawing.cpp$(PreprocessSuffix) drawing.cpp
$(IntermediateDirectory)/main.cpp$(ObjectSuffix): main.cpp $(IntermediateDirectory)/main.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/d0/coding/notekit/main.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/main.cpp$(DependSuffix): main.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/main.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/main.cpp$(DependSuffix) -MM main.cpp
$(IntermediateDirectory)/main.cpp$(PreprocessSuffix): main.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main.cpp$(PreprocessSuffix) main.cpp
$(IntermediateDirectory)/navigation.cpp$(ObjectSuffix): navigation.cpp $(IntermediateDirectory)/navigation.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/d0/coding/notekit/navigation.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/navigation.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/navigation.cpp$(DependSuffix): navigation.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/navigation.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/navigation.cpp$(DependSuffix) -MM navigation.cpp
$(IntermediateDirectory)/navigation.cpp$(PreprocessSuffix): navigation.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/navigation.cpp$(PreprocessSuffix) navigation.cpp
$(IntermediateDirectory)/notebook.cpp$(ObjectSuffix): notebook.cpp $(IntermediateDirectory)/notebook.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/d0/coding/notekit/notebook.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/notebook.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/notebook.cpp$(DependSuffix): notebook.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/notebook.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/notebook.cpp$(DependSuffix) -MM notebook.cpp
$(IntermediateDirectory)/notebook.cpp$(PreprocessSuffix): notebook.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/notebook.cpp$(PreprocessSuffix) notebook.cpp
$(IntermediateDirectory)/mainwindow.cpp$(ObjectSuffix): mainwindow.cpp $(IntermediateDirectory)/mainwindow.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/d0/coding/notekit/mainwindow.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/mainwindow.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/mainwindow.cpp$(DependSuffix): mainwindow.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/mainwindow.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/mainwindow.cpp$(DependSuffix) -MM mainwindow.cpp
$(IntermediateDirectory)/mainwindow.cpp$(PreprocessSuffix): mainwindow.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/mainwindow.cpp$(PreprocessSuffix) mainwindow.cpp
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) -r ./Release/