-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOCCompiler.mk
144 lines (117 loc) · 6.61 KB
/
OCCompiler.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
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Debug
ProjectName :=OCCompiler
ConfigurationName :=Debug
WorkspacePath :=C:/Users/Artaw/OneDrive/Документы/compile
ProjectPath :=C:/Users/Artaw/Desktop/lagoritm/work/OCCompiler
IntermediateDirectory :=./Debug
OutDir := $(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=Artaw
Date :=03/07/2016
CodeLitePath :="C:/Program Files/CodeLite"
LinkerName :=C:/TDM-GCC-64/bin/g++.exe
SharedObjectLinkerName :=C:/TDM-GCC-64/bin/g++.exe -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 :="OCCompiler.txt"
PCHCompileFlags :=
MakeDirCommand :=makedir
RcCmpOptions :=
RcCompilerName :=C:/TDM-GCC-64/bin/windres.exe
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 := C:/TDM-GCC-64/bin/ar.exe rcu
CXX := C:/TDM-GCC-64/bin/g++.exe
CC := C:/TDM-GCC-64/bin/gcc.exe
CXXFLAGS := -g -O0 -Wall $(Preprocessors)
CFLAGS := -g -O0 -Wall $(Preprocessors)
ASFLAGS :=
AS := C:/TDM-GCC-64/bin/as.exe
##
## User defined environment variables
##
CodeLiteDir:=C:\Program Files\CodeLite
Objects0=$(IntermediateDirectory)/main.c$(ObjectSuffix) $(IntermediateDirectory)/gstruct_gpio.c$(ObjectSuffix) $(IntermediateDirectory)/gstruct_clk.c$(ObjectSuffix) $(IntermediateDirectory)/gstruct_ssp.c$(ObjectSuffix) $(IntermediateDirectory)/gstruct_pvdcs.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:
@$(MakeDirCommand) "./Debug"
$(IntermediateDirectory)/.d:
@$(MakeDirCommand) "./Debug"
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/main.c$(ObjectSuffix): main.c $(IntermediateDirectory)/main.c$(DependSuffix)
$(CC) $(SourceSwitch) "C:/Users/Artaw/Desktop/lagoritm/work/OCCompiler/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)/gstruct_gpio.c$(ObjectSuffix): gstruct_gpio.c $(IntermediateDirectory)/gstruct_gpio.c$(DependSuffix)
$(CC) $(SourceSwitch) "C:/Users/Artaw/Desktop/lagoritm/work/OCCompiler/gstruct_gpio.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/gstruct_gpio.c$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/gstruct_gpio.c$(DependSuffix): gstruct_gpio.c
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/gstruct_gpio.c$(ObjectSuffix) -MF$(IntermediateDirectory)/gstruct_gpio.c$(DependSuffix) -MM "gstruct_gpio.c"
$(IntermediateDirectory)/gstruct_gpio.c$(PreprocessSuffix): gstruct_gpio.c
$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/gstruct_gpio.c$(PreprocessSuffix) "gstruct_gpio.c"
$(IntermediateDirectory)/gstruct_clk.c$(ObjectSuffix): gstruct_clk.c $(IntermediateDirectory)/gstruct_clk.c$(DependSuffix)
$(CC) $(SourceSwitch) "C:/Users/Artaw/Desktop/lagoritm/work/OCCompiler/gstruct_clk.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/gstruct_clk.c$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/gstruct_clk.c$(DependSuffix): gstruct_clk.c
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/gstruct_clk.c$(ObjectSuffix) -MF$(IntermediateDirectory)/gstruct_clk.c$(DependSuffix) -MM "gstruct_clk.c"
$(IntermediateDirectory)/gstruct_clk.c$(PreprocessSuffix): gstruct_clk.c
$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/gstruct_clk.c$(PreprocessSuffix) "gstruct_clk.c"
$(IntermediateDirectory)/gstruct_ssp.c$(ObjectSuffix): gstruct_ssp.c $(IntermediateDirectory)/gstruct_ssp.c$(DependSuffix)
$(CC) $(SourceSwitch) "C:/Users/Artaw/Desktop/lagoritm/work/OCCompiler/gstruct_ssp.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/gstruct_ssp.c$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/gstruct_ssp.c$(DependSuffix): gstruct_ssp.c
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/gstruct_ssp.c$(ObjectSuffix) -MF$(IntermediateDirectory)/gstruct_ssp.c$(DependSuffix) -MM "gstruct_ssp.c"
$(IntermediateDirectory)/gstruct_ssp.c$(PreprocessSuffix): gstruct_ssp.c
$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/gstruct_ssp.c$(PreprocessSuffix) "gstruct_ssp.c"
$(IntermediateDirectory)/gstruct_pvdcs.c$(ObjectSuffix): gstruct_pvdcs.c $(IntermediateDirectory)/gstruct_pvdcs.c$(DependSuffix)
$(CC) $(SourceSwitch) "C:/Users/Artaw/Desktop/lagoritm/work/OCCompiler/gstruct_pvdcs.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/gstruct_pvdcs.c$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/gstruct_pvdcs.c$(DependSuffix): gstruct_pvdcs.c
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/gstruct_pvdcs.c$(ObjectSuffix) -MF$(IntermediateDirectory)/gstruct_pvdcs.c$(DependSuffix) -MM "gstruct_pvdcs.c"
$(IntermediateDirectory)/gstruct_pvdcs.c$(PreprocessSuffix): gstruct_pvdcs.c
$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/gstruct_pvdcs.c$(PreprocessSuffix) "gstruct_pvdcs.c"
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) -r ./Debug/