-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfwiCPP.mk
134 lines (112 loc) · 6.43 KB
/
fwiCPP.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
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Release
ProjectName :=fwiCPP
ConfigurationName :=Release
WorkspaceConfiguration :=Release
WorkspacePath :=/home/sergiobritto/Dev/c++Dev/fwisv/fwiCPP
ProjectPath :=/home/sergiobritto/Dev/c++Dev/fwisv/fwiCPP/fwiCPP
IntermediateDirectory :=$(ConfigurationName)
OutDir := $(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=Sergio Britto
Date :=08/02/23
CodeLitePath :=/home/sergiobritto/.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
OutputDirectory :=$(IntermediateDirectory)
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
Preprocessors :=$(PreprocessorSwitch)NDEBUG
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
ObjectsFileList :="fwiCPP.txt"
PCHCompileFlags :=
MakeDirCommand :=mkdir -p
LinkOptions := -fopenmp -larmadillo -lopenblas -llapack
IncludePath := $(IncludeSwitch). $(IncludeSwitch). $(IncludeSwitch)/usr/include/python3.8 $(IncludeSwitch)/home/sergiobritto/.local/lib/python3.8/ $(IncludeSwitch)/home/sergiobritto/includescpp
IncludePCH :=
RcIncludePath :=
Libs :=
ArLibs :=
LibPath := $(LibraryPathSwitch).
##
## Common variables
## AR, CXX, CC, AS, CXXFLAGS and CFLAGS can be overridden using an environment variable
##
AR := /usr/bin/ar rcu
CXX := /usr/bin/g++
CC := /usr/bin/gcc
CXXFLAGS := -g -O0 -fopenmp -std=c++17 -Wall $(Preprocessors)
CFLAGS := -g -O0 -Wall $(Preprocessors)
ASFLAGS :=
AS := /usr/bin/as
##
## User defined environment variables
##
CodeLiteDir:=/usr/share/codelite
Objects0=$(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IntermediateDirectory)/Mesh.cpp$(ObjectSuffix) $(IntermediateDirectory)/MaterialModel.cpp$(ObjectSuffix) $(IntermediateDirectory)/Device.cpp$(ObjectSuffix) $(IntermediateDirectory)/Problem.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)/main.cpp$(ObjectSuffix): main.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/main.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/main.cpp$(DependSuffix) -MM main.cpp
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/sergiobritto/Dev/c++Dev/fwisv/fwiCPP/fwiCPP/main.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/main.cpp$(PreprocessSuffix): main.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main.cpp$(PreprocessSuffix) main.cpp
$(IntermediateDirectory)/Mesh.cpp$(ObjectSuffix): Mesh.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/Mesh.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/Mesh.cpp$(DependSuffix) -MM Mesh.cpp
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/sergiobritto/Dev/c++Dev/fwisv/fwiCPP/fwiCPP/Mesh.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/Mesh.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/Mesh.cpp$(PreprocessSuffix): Mesh.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/Mesh.cpp$(PreprocessSuffix) Mesh.cpp
$(IntermediateDirectory)/MaterialModel.cpp$(ObjectSuffix): MaterialModel.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/MaterialModel.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/MaterialModel.cpp$(DependSuffix) -MM MaterialModel.cpp
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/sergiobritto/Dev/c++Dev/fwisv/fwiCPP/fwiCPP/MaterialModel.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/MaterialModel.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/MaterialModel.cpp$(PreprocessSuffix): MaterialModel.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/MaterialModel.cpp$(PreprocessSuffix) MaterialModel.cpp
$(IntermediateDirectory)/Device.cpp$(ObjectSuffix): Device.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/Device.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/Device.cpp$(DependSuffix) -MM Device.cpp
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/sergiobritto/Dev/c++Dev/fwisv/fwiCPP/fwiCPP/Device.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/Device.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/Device.cpp$(PreprocessSuffix): Device.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/Device.cpp$(PreprocessSuffix) Device.cpp
$(IntermediateDirectory)/Problem.cpp$(ObjectSuffix): Problem.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/Problem.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/Problem.cpp$(DependSuffix) -MM Problem.cpp
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/sergiobritto/Dev/c++Dev/fwisv/fwiCPP/fwiCPP/Problem.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/Problem.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/Problem.cpp$(PreprocessSuffix): Problem.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/Problem.cpp$(PreprocessSuffix) Problem.cpp
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) -r $(ConfigurationName)/