forked from kb1isz/linDmrMaster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
208 lines (170 loc) · 12.4 KB
/
Makefile
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
ProjectName :=Master_Server
ConfigurationName :=Release
IntermediateDirectory :=./Release
OutDir := $(IntermediateDirectory)
WorkspacePath :=
ProjectPath :=
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=
Date :=
LinkerName :=gcc
ArchiveTool :=ar rcus
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
CompilerName :=gcc
C_CompilerName :=gcc
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
Preprocessors :=
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
MakeDirCommand :=mkdir -p
CmpOptions := -g $(Preprocessors)
LinkOptions :=
IncludePath := "$(IncludeSwitch)." "$(IncludeSwitch)."
RcIncludePath :=
Libs :=$(LibrarySwitch)pthread $(LibrarySwitch)sqlite3 $(LibrarySwitch)m $(LibrarySwitch)curl
LibPath := "$(LibraryPathSwitch)."
##
## User defined environment variables
##
CodeLiteDir:=/usr/share/codelite
Objects=$(IntermediateDirectory)/main$(ObjectSuffix) $(IntermediateDirectory)/dmr$(ObjectSuffix) $(IntermediateDirectory)/rdac$(ObjectSuffix) $(IntermediateDirectory)/smaster$(ObjectSuffix) $(IntermediateDirectory)/sqlite$(ObjectSuffix) $(IntermediateDirectory)/convbin$(ObjectSuffix) $(IntermediateDirectory)/BPTC1969$(ObjectSuffix) $(IntermediateDirectory)/decode34Rate$(ObjectSuffix) $(IntermediateDirectory)/hyteraDecode$(ObjectSuffix) $(IntermediateDirectory)/aprs$(ObjectSuffix) $(IntermediateDirectory)/scheduler$(ObjectSuffix) $(IntermediateDirectory)/users$(ObjectSuffix)
##
## Main Build Targets
##
all: $(OutputFile)
$(OutputFile): makeDirStep $(Objects)
@$(MakeDirCommand) $(@D)
$(LinkerName) $(OutputSwitch)$(OutputFile) $(Objects) $(LibPath) $(Libs) $(LinkOptions)
makeDirStep:
@test -d ./Release || $(MakeDirCommand) ./Release
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/main$(ObjectSuffix): main.c $(IntermediateDirectory)/main$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "main.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/main$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/main$(DependSuffix): main.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/main$(ObjectSuffix) -MF$(IntermediateDirectory)/main$(DependSuffix) -MM "main.c"
$(IntermediateDirectory)/main$(PreprocessSuffix): main.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main$(PreprocessSuffix) "main.c"
$(IntermediateDirectory)/dmr$(ObjectSuffix): dmr.c $(IntermediateDirectory)/dmr$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "dmr.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/dmr$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/dmr$(DependSuffix): dmr.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/dmr$(ObjectSuffix) -MF$(IntermediateDirectory)/dmr$(DependSuffix) -MM "dmr.c"
$(IntermediateDirectory)/dmr$(PreprocessSuffix): dmr.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/dmr$(PreprocessSuffix) "dmr.c"
$(IntermediateDirectory)/rdac$(ObjectSuffix): rdac.c $(IntermediateDirectory)/rdac$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "rdac.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/rdac$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/rdac$(DependSuffix): rdac.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/rdac$(ObjectSuffix) -MF$(IntermediateDirectory)/rdac$(DependSuffix) -MM "rdac.c"
$(IntermediateDirectory)/rdac$(PreprocessSuffix): rdac.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/rdac$(PreprocessSuffix) "rdac.c"
$(IntermediateDirectory)/smaster$(ObjectSuffix): smaster.c $(IntermediateDirectory)/smaster$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "smaster.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/smaster$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/smaster$(DependSuffix): smaster.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/smaster$(ObjectSuffix) -MF$(IntermediateDirectory)/smaster$(DependSuffix) -MM "smaster.c"
$(IntermediateDirectory)/smaster$(PreprocessSuffix): smaster.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/smaster$(PreprocessSuffix) "smaster.c"
$(IntermediateDirectory)/sqlite$(ObjectSuffix): sqlite.c $(IntermediateDirectory)/sqlite$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "sqlite.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/sqlite$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/sqlite$(DependSuffix): sqlite.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/sqlite$(ObjectSuffix) -MF$(IntermediateDirectory)/sqlite$(DependSuffix) -MM "sqlite.c"
$(IntermediateDirectory)/sqlite$(PreprocessSuffix): sqlite.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/sqlite$(PreprocessSuffix) "sqlite.c"
$(IntermediateDirectory)/convbin$(ObjectSuffix): convbin.c $(IntermediateDirectory)/convbin$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "convbin.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/convbin$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/convbin$(DependSuffix): convbin.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/convbin$(ObjectSuffix) -MF$(IntermediateDirectory)/convbin$(DependSuffix) -MM "convbin.c"
$(IntermediateDirectory)/convbin$(PreprocessSuffix): convbin.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/convbin$(PreprocessSuffix) "convbin.c"
$(IntermediateDirectory)/BPTC1969$(ObjectSuffix): BPTC1969.c $(IntermediateDirectory)/BPTC1969$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "BPTC1969.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/BPTC1969$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/BPTC1969$(DependSuffix): BPTC1969.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/BPTC1969$(ObjectSuffix) -MF$(IntermediateDirectory)/BPTC1969$(DependSuffix) -MM "BPTC1969.c"
$(IntermediateDirectory)/BPTC1969$(PreprocessSuffix): BPTC1969.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/BPTC1969$(PreprocessSuffix) "BPTC1969.c"
$(IntermediateDirectory)/decode34Rate$(ObjectSuffix): decode34Rate.c $(IntermediateDirectory)/decode34Rate$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "decode34Rate.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/decode34Rate$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/decode34Rate$(DependSuffix): decode34Rate.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/decode34Rate$(ObjectSuffix) -MF$(IntermediateDirectory)/decode34Rate$(DependSuffix) -MM "decode34Rate.c"
$(IntermediateDirectory)/decode34Rate$(PreprocessSuffix): decode34Rate.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/decode34Rate$(PreprocessSuffix) "decode34Rate.c"
$(IntermediateDirectory)/hyteraDecode$(ObjectSuffix): hyteraDecode.c $(IntermediateDirectory)/hyteraDecode$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "hyteraDecode.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/hyteraDecode$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/hyteraDecode$(DependSuffix): hyteraDecode.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/hyteraDecode$(ObjectSuffix) -MF$(IntermediateDirectory)/hyteraDecode$(DependSuffix) -MM "hyteraDecode.c"
$(IntermediateDirectory)/hyteraDecode$(PreprocessSuffix): hyteraDecode.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/hyteraDecode$(PreprocessSuffix) "hyteraDecode.c"
$(IntermediateDirectory)/aprs$(ObjectSuffix): aprs.c $(IntermediateDirectory)/aprs$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "aprs.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/aprs$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/aprs$(DependSuffix): aprs.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/aprs$(ObjectSuffix) -MF$(IntermediateDirectory)/aprs$(DependSuffix) -MM "aprs.c"
$(IntermediateDirectory)/aprs$(PreprocessSuffix): aprs.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/aprs$(PreprocessSuffix) "aprs.c"
$(IntermediateDirectory)/scheduler$(ObjectSuffix): scheduler.c $(IntermediateDirectory)/scheduler$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "scheduler.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/scheduler$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/scheduler$(DependSuffix): scheduler.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/scheduler$(ObjectSuffix) -MF$(IntermediateDirectory)/scheduler$(DependSuffix) -MM "scheduler.c"
$(IntermediateDirectory)/scheduler$(PreprocessSuffix): scheduler.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/scheduler$(PreprocessSuffix) "scheduler.c"
$(IntermediateDirectory)/users$(ObjectSuffix): users.c $(IntermediateDirectory)/users$(DependSuffix)
$(C_CompilerName) $(SourceSwitch) "users.c" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/users$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/users$(DependSuffix): users.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/users$(ObjectSuffix) -MF$(IntermediateDirectory)/users$(DependSuffix) -MM "users.c"
$(IntermediateDirectory)/users$(PreprocessSuffix): users.c
@$(C_CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/users$(PreprocessSuffix) "users.c"
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) $(IntermediateDirectory)/main$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/main$(DependSuffix)
$(RM) $(IntermediateDirectory)/main$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/dmr$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/dmr$(DependSuffix)
$(RM) $(IntermediateDirectory)/dmr$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/rdac$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/rdac$(DependSuffix)
$(RM) $(IntermediateDirectory)/rdac$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/smaster$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/smaster$(DependSuffix)
$(RM) $(IntermediateDirectory)/smaster$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/sqlite$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/sqlite$(DependSuffix)
$(RM) $(IntermediateDirectory)/sqlite$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/convbin$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/convbin$(DependSuffix)
$(RM) $(IntermediateDirectory)/convbin$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/BPTC1969$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/BPTC1969$(DependSuffix)
$(RM) $(IntermediateDirectory)/BPTC1969$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/decode34Rate$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/decode34Rate$(DependSuffix)
$(RM) $(IntermediateDirectory)/decode34Rate$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/hyteraDecode$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/hyteraDecode$(DependSuffix)
$(RM) $(IntermediateDirectory)/hyteraDecode$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/aprs$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/aprs$(DependSuffix)
$(RM) $(IntermediateDirectory)/aprs$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/scheduler$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/scheduler$(DependSuffix)
$(RM) $(IntermediateDirectory)/scheduler$(PreprocessSuffix)
$(RM) $(IntermediateDirectory)/users$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/users$(DependSuffix)
$(RM) $(IntermediateDirectory)/users$(PreprocessSuffix)
$(RM) $(OutputFile)