|
| 1 | +## |
| 2 | +## Auto Generated makefile by CodeLite IDE |
| 3 | +## any manual changes will be erased |
| 4 | +## |
| 5 | +## Debug |
| 6 | +ProjectName :=Day1-HelloWorld |
| 7 | +ConfigurationName :=Debug |
| 8 | +WorkspacePath :=/home/geekayush/Competitive |
| 9 | +ProjectPath :=/home/geekayush/Competitive/Day1-HelloWorld |
| 10 | +IntermediateDirectory :=./Debug |
| 11 | +OutDir := $(IntermediateDirectory) |
| 12 | +CurrentFileName := |
| 13 | +CurrentFilePath := |
| 14 | +CurrentFileFullPath := |
| 15 | +User :=Ayush |
| 16 | +Date :=08/06/19 |
| 17 | +CodeLitePath :=/home/geekayush/.codelite |
| 18 | +LinkerName :=/usr/bin/g++ |
| 19 | +SharedObjectLinkerName :=/usr/bin/g++ -shared -fPIC |
| 20 | +ObjectSuffix :=.o |
| 21 | +DependSuffix :=.o.d |
| 22 | +PreprocessSuffix :=.i |
| 23 | +DebugSwitch :=-g |
| 24 | +IncludeSwitch :=-I |
| 25 | +LibrarySwitch :=-l |
| 26 | +OutputSwitch :=-o |
| 27 | +LibraryPathSwitch :=-L |
| 28 | +PreprocessorSwitch :=-D |
| 29 | +SourceSwitch :=-c |
| 30 | +OutputFile :=$(IntermediateDirectory)/$(ProjectName) |
| 31 | +Preprocessors := |
| 32 | +ObjectSwitch :=-o |
| 33 | +ArchiveOutputSwitch := |
| 34 | +PreprocessOnlySwitch :=-E |
| 35 | +ObjectsFileList :="Day1-HelloWorld.txt" |
| 36 | +PCHCompileFlags := |
| 37 | +MakeDirCommand :=mkdir -p |
| 38 | +LinkOptions := |
| 39 | +IncludePath := $(IncludeSwitch). $(IncludeSwitch). |
| 40 | +IncludePCH := |
| 41 | +RcIncludePath := |
| 42 | +Libs := |
| 43 | +ArLibs := |
| 44 | +LibPath := $(LibraryPathSwitch). |
| 45 | + |
| 46 | +## |
| 47 | +## Common variables |
| 48 | +## AR, CXX, CC, AS, CXXFLAGS and CFLAGS can be overriden using an environment variables |
| 49 | +## |
| 50 | +AR := /usr/bin/ar rcu |
| 51 | +CXX := /usr/bin/g++ |
| 52 | +CC := /usr/bin/gcc |
| 53 | +CXXFLAGS := -g -O0 -Wall $(Preprocessors) |
| 54 | +CFLAGS := -g -O0 -Wall $(Preprocessors) |
| 55 | +ASFLAGS := |
| 56 | +AS := /usr/bin/as |
| 57 | + |
| 58 | + |
| 59 | +## |
| 60 | +## User defined environment variables |
| 61 | +## |
| 62 | +CodeLiteDir:=/usr/share/codelite |
| 63 | +Objects0=$(IntermediateDirectory)/main.c$(ObjectSuffix) |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | +Objects=$(Objects0) |
| 68 | + |
| 69 | +## |
| 70 | +## Main Build Targets |
| 71 | +## |
| 72 | +.PHONY: all clean PreBuild PrePreBuild PostBuild MakeIntermediateDirs |
| 73 | +all: $(OutputFile) |
| 74 | + |
| 75 | +$(OutputFile): $(IntermediateDirectory)/.d $(Objects) |
| 76 | + @$(MakeDirCommand) $(@D) |
| 77 | + @echo "" > $(IntermediateDirectory)/.d |
| 78 | + @echo $(Objects0) > $(ObjectsFileList) |
| 79 | + $(LinkerName) $(OutputSwitch)$(OutputFile) @$(ObjectsFileList) $(LibPath) $(Libs) $(LinkOptions) |
| 80 | + |
| 81 | +MakeIntermediateDirs: |
| 82 | + @test -d ./Debug || $(MakeDirCommand) ./Debug |
| 83 | + |
| 84 | + |
| 85 | +$(IntermediateDirectory)/.d: |
| 86 | + @test -d ./Debug || $(MakeDirCommand) ./Debug |
| 87 | + |
| 88 | +PreBuild: |
| 89 | + |
| 90 | + |
| 91 | +## |
| 92 | +## Objects |
| 93 | +## |
| 94 | +$(IntermediateDirectory)/main.c$(ObjectSuffix): main.c $(IntermediateDirectory)/main.c$(DependSuffix) |
| 95 | + $(CC) $(SourceSwitch) "/home/geekayush/Competitive/Day1-HelloWorld/main.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/main.c$(ObjectSuffix) $(IncludePath) |
| 96 | +$(IntermediateDirectory)/main.c$(DependSuffix): main.c |
| 97 | + @$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/main.c$(ObjectSuffix) -MF$(IntermediateDirectory)/main.c$(DependSuffix) -MM main.c |
| 98 | + |
| 99 | +$(IntermediateDirectory)/main.c$(PreprocessSuffix): main.c |
| 100 | + $(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main.c$(PreprocessSuffix) main.c |
| 101 | + |
| 102 | + |
| 103 | +-include $(IntermediateDirectory)/*$(DependSuffix) |
| 104 | +## |
| 105 | +## Clean |
| 106 | +## |
| 107 | +clean: |
| 108 | + $(RM) -r ./Debug/ |
| 109 | + |
| 110 | + |
0 commit comments