126 lines
5.4 KiB
Makefile
126 lines
5.4 KiB
Makefile
##
|
|
## Auto Generated makefile by CodeLite IDE
|
|
## any manual changes will be erased
|
|
##
|
|
## Debug
|
|
ProjectName :=UOC20211
|
|
ConfigurationName :=Debug
|
|
WorkspacePath :=/dades/git/UOC/PP/PR1/UOC20211
|
|
ProjectPath :=/dades/git/UOC/PP/PR1/UOC20211
|
|
IntermediateDirectory :=./bin/Debug
|
|
OutDir := $(IntermediateDirectory)
|
|
CurrentFileName :=
|
|
CurrentFilePath :=
|
|
CurrentFileFullPath :=
|
|
User :=Guillem
|
|
Date :=24/10/21
|
|
CodeLitePath :=/home/guillem/.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 :=./bin/$(ProjectName)d
|
|
Preprocessors :=
|
|
ObjectSwitch :=-o
|
|
ArchiveOutputSwitch :=
|
|
PreprocessOnlySwitch :=-E
|
|
ObjectsFileList :="UOC20211.txt"
|
|
PCHCompileFlags :=
|
|
MakeDirCommand :=mkdir -p
|
|
LinkOptions :=
|
|
IncludePath := $(IncludeSwitch). $(IncludeSwitch). $(IncludeSwitch)test/include $(IncludeSwitch)UOCContacts/include
|
|
IncludePCH :=
|
|
RcIncludePath :=
|
|
Libs := $(LibrarySwitch)UOCContactsd
|
|
ArLibs := "libUOCContactsd.a"
|
|
LibPath := $(LibraryPathSwitch). $(LibraryPathSwitch)./lib
|
|
|
|
##
|
|
## 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 := -g -O0 -Wall $(Preprocessors)
|
|
CFLAGS := -g -O0 -Wall $(Preprocessors)
|
|
ASFLAGS :=
|
|
AS := /usr/bin/as
|
|
|
|
|
|
##
|
|
## User defined environment variables
|
|
##
|
|
CodeLiteDir:=/usr/share/codelite
|
|
Objects0=$(IntermediateDirectory)/test_src_test.c$(ObjectSuffix) $(IntermediateDirectory)/test_src_test_suite.c$(ObjectSuffix) $(IntermediateDirectory)/test_src_test_pr1.c$(ObjectSuffix) $(IntermediateDirectory)/src_main.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:
|
|
@test -d ./bin/Debug || $(MakeDirCommand) ./bin/Debug
|
|
|
|
|
|
$(IntermediateDirectory)/.d:
|
|
@test -d ./bin/Debug || $(MakeDirCommand) ./bin/Debug
|
|
|
|
PreBuild:
|
|
|
|
|
|
##
|
|
## Objects
|
|
##
|
|
$(IntermediateDirectory)/test_src_test.c$(ObjectSuffix): test/src/test.c
|
|
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/test_src_test.c$(ObjectSuffix) -MF$(IntermediateDirectory)/test_src_test.c$(DependSuffix) -MM test/src/test.c
|
|
$(CC) $(SourceSwitch) "/dades/git/UOC/PP/PR1/UOC20211/test/src/test.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/test_src_test.c$(ObjectSuffix) $(IncludePath)
|
|
$(IntermediateDirectory)/test_src_test.c$(PreprocessSuffix): test/src/test.c
|
|
$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/test_src_test.c$(PreprocessSuffix) test/src/test.c
|
|
|
|
$(IntermediateDirectory)/test_src_test_suite.c$(ObjectSuffix): test/src/test_suite.c
|
|
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/test_src_test_suite.c$(ObjectSuffix) -MF$(IntermediateDirectory)/test_src_test_suite.c$(DependSuffix) -MM test/src/test_suite.c
|
|
$(CC) $(SourceSwitch) "/dades/git/UOC/PP/PR1/UOC20211/test/src/test_suite.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/test_src_test_suite.c$(ObjectSuffix) $(IncludePath)
|
|
$(IntermediateDirectory)/test_src_test_suite.c$(PreprocessSuffix): test/src/test_suite.c
|
|
$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/test_src_test_suite.c$(PreprocessSuffix) test/src/test_suite.c
|
|
|
|
$(IntermediateDirectory)/test_src_test_pr1.c$(ObjectSuffix): test/src/test_pr1.c
|
|
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/test_src_test_pr1.c$(ObjectSuffix) -MF$(IntermediateDirectory)/test_src_test_pr1.c$(DependSuffix) -MM test/src/test_pr1.c
|
|
$(CC) $(SourceSwitch) "/dades/git/UOC/PP/PR1/UOC20211/test/src/test_pr1.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/test_src_test_pr1.c$(ObjectSuffix) $(IncludePath)
|
|
$(IntermediateDirectory)/test_src_test_pr1.c$(PreprocessSuffix): test/src/test_pr1.c
|
|
$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/test_src_test_pr1.c$(PreprocessSuffix) test/src/test_pr1.c
|
|
|
|
$(IntermediateDirectory)/src_main.c$(ObjectSuffix): src/main.c
|
|
@$(CC) $(CFLAGS) $(IncludePath) -MG -MP -MT$(IntermediateDirectory)/src_main.c$(ObjectSuffix) -MF$(IntermediateDirectory)/src_main.c$(DependSuffix) -MM src/main.c
|
|
$(CC) $(SourceSwitch) "/dades/git/UOC/PP/PR1/UOC20211/src/main.c" $(CFLAGS) $(ObjectSwitch)$(IntermediateDirectory)/src_main.c$(ObjectSuffix) $(IncludePath)
|
|
$(IntermediateDirectory)/src_main.c$(PreprocessSuffix): src/main.c
|
|
$(CC) $(CFLAGS) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/src_main.c$(PreprocessSuffix) src/main.c
|
|
|
|
|
|
-include $(IntermediateDirectory)/*$(DependSuffix)
|
|
##
|
|
## Clean
|
|
##
|
|
clean:
|
|
$(RM) -r ./bin/Debug/
|
|
|
|
|