-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRami.mk
executable file
·133 lines (110 loc) · 5.21 KB
/
Rami.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
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Debug_Lin
ProjectName :=Rami
ConfigurationName :=Debug_Lin
WorkspacePath :=/home/tupac/Rami
ProjectPath :=/home/tupac/Rami
IntermediateDirectory :=./Debug/
OutDir := $(IntermediateDirectory)
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=tupac
Date :=04/13/18
CodeLitePath :=/home/tupac/.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 :=Rami
Preprocessors :=$(PreprocessorSwitch)_DEBUG $(PreprocessorSwitch)_CONSOLE
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
ObjectsFileList :="Rami.txt"
PCHCompileFlags :=
MakeDirCommand :=mkdir -p
LinkOptions := -O0
IncludePath := $(IncludeSwitch). $(IncludeSwitch)C:/irrlicht-1.8.4/include $(IncludeSwitch)/usr/include/irrlicht/
IncludePCH :=
RcIncludePath :=
Libs := $(LibrarySwitch)Irrlicht
ArLibs := "Irrlicht"
LibPath := $(LibraryPathSwitch). $(LibraryPathSwitch)C:\irrlicht-1.8.4\lib\Win32-gcc $(LibraryPathSwitch)..\..\lib\Win32-gcc
##
## 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++14 -Wall -g -Wall -fpermissive $(Preprocessors)
CFLAGS := $(Preprocessors)
ASFLAGS :=
AS := /usr/bin/as
##
## User defined environment variables
##
CodeLiteDir:=/usr/share/codelite
VS_Configuration:=Debug
VS_IntDir:=./Debug/
VS_OutDir:=.
VS_Platform:=Win32
VS_ProjectDir:=/home/tupac/Rami/
VS_ProjectName:=Rami
VS_SolutionDir:=/home/tupac/Rami/
Objects0=$(IntermediateDirectory)/main.cpp$(ObjectSuffix) $(IntermediateDirectory)/CardType.cpp$(ObjectSuffix) $(IntermediateDirectory)/CardStack.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 ./Debug/ || $(MakeDirCommand) ./Debug/
$(IntermediateDirectory)/.d:
@test -d ./Debug/ || $(MakeDirCommand) ./Debug/
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/main.cpp$(ObjectSuffix): main.cpp $(IntermediateDirectory)/main.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/tupac/Rami/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)/CardType.cpp$(ObjectSuffix): CardType.cpp $(IntermediateDirectory)/CardType.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/tupac/Rami/CardType.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/CardType.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/CardType.cpp$(DependSuffix): CardType.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/CardType.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/CardType.cpp$(DependSuffix) -MM CardType.cpp
$(IntermediateDirectory)/CardType.cpp$(PreprocessSuffix): CardType.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/CardType.cpp$(PreprocessSuffix) CardType.cpp
$(IntermediateDirectory)/CardStack.cpp$(ObjectSuffix): CardStack.cpp $(IntermediateDirectory)/CardStack.cpp$(DependSuffix)
$(CXX) $(IncludePCH) $(SourceSwitch) "/home/tupac/Rami/CardStack.cpp" $(CXXFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/CardStack.cpp$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/CardStack.cpp$(DependSuffix): CardStack.cpp
@$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/CardStack.cpp$(ObjectSuffix) -MF$(IntermediateDirectory)/CardStack.cpp$(DependSuffix) -MM CardStack.cpp
$(IntermediateDirectory)/CardStack.cpp$(PreprocessSuffix): CardStack.cpp
$(CXX) $(CXXFLAGS) $(IncludePCH) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/CardStack.cpp$(PreprocessSuffix) CardStack.cpp
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) -r ./Debug/