To KIIV & To ondra.holub :
Skusil som spravit to co ste mi radili:
http://www.upnito.sk/imggal.php?…
Ale stale ta ista chyba :X
To ondra.holub:
myslis ten makefile co som oznacil na obrazku? ak ano tak ten som otvoril v Code Lite a toto v nom bolo:
##
## Auto Generated makefile by CodeLite IDE
## any manual changes will be erased
##
## Debug
ProjectName :=uloha1
ConfigurationName :=Debug
IntermediateDirectory :=./Debug
OutDir := $(IntermediateDirectory)
WorkspacePath := "C:\Program Files\CodeLite\studium"
ProjectPath := "C:\programovanie\C\1.rocnik\uloha1"
CurrentFileName :=
CurrentFilePath :=
CurrentFileFullPath :=
User :=Dodo
Date :=02/20/12
CodeLitePath :="C:\Program Files\CodeLite"
LinkerName :=g++
ArchiveTool :=ar rcus
SharedObjectLinkerName :=g++ -shared -fPIC
ObjectSuffix :=.o
DependSuffix :=.o.d
PreprocessSuffix :=.o.i
DebugSwitch :=-gstab
IncludeSwitch :=-I
LibrarySwitch :=-l
OutputSwitch :=-o
LibraryPathSwitch :=-L
PreprocessorSwitch :=-D
SourceSwitch :=-c
CompilerName :=g++
C_CompilerName :=gcc
OutputFile :=$(IntermediateDirectory)/$(ProjectName)
Preprocessors :=
ObjectSwitch :=-o
ArchiveOutputSwitch :=
PreprocessOnlySwitch :=-E
MakeDirCommand :=makedir
CmpOptions := -g $(Preprocessors)
LinkOptions :=
IncludePath := "$(IncludeSwitch)." "$(IncludeSwitch)."
RcIncludePath :=
Libs :=
LibPath := "$(LibraryPathSwitch)."
##
## User defined environment variables
##
CodeLiteDir:=C:\Program Files\CodeLite
UNIT_TEST_PP_SRC_DIR:=C:\UnitTest++-1.3
Objects=$(IntermediateDirectory)/main$(ObjectSuffix)
##
## Main Build Targets
##
all: $(OutputFile)
$(OutputFile): makeDirStep $(Objects)
@$(MakeDirCommand) $(@D)
$(LinkerName) $(OutputSwitch)$(OutputFile) $(Objects) $(LibPath) $(Libs) $(LinkOptions)
makeDirStep:
@$(MakeDirCommand) "./Debug"
PreBuild:
##
## Objects
##
$(IntermediateDirectory)/main$(ObjectSuffix): main.cpp $(IntermediateDirectory)/main$(DependSuffix)
$(CompilerName) $(SourceSwitch) "C:/programovanie/C/1.rocnik/uloha1/main.cpp" $(CmpOptions) $(ObjectSwitch)$(IntermediateDirectory)/main$(ObjectSuffix) $(IncludePath)
$(IntermediateDirectory)/main$(DependSuffix): main.cpp
@$(CompilerName) $(CmpOptions) $(IncludePath) -MT$(IntermediateDirectory)/main$(ObjectSuffix) -MF$(IntermediateDirectory)/main$(DependSuffix) -MM "C:/programovanie/C/1.rocnik/uloha1/main.cpp"
$(IntermediateDirectory)/main$(PreprocessSuffix): main.cpp
@$(CompilerName) $(CmpOptions) $(IncludePath) $(PreprocessOnlySwitch) $(OutputSwitch) $(IntermediateDirectory)/main$(PreprocessSuffix) "C:/programovanie/C/1.rocnik/uloha1/main.cpp"
-include $(IntermediateDirectory)/*$(DependSuffix)
##
## Clean
##
clean:
$(RM) $(IntermediateDirectory)/main$(ObjectSuffix)
$(RM) $(IntermediateDirectory)/main$(DependSuffix)
$(RM) $(IntermediateDirectory)/main$(PreprocessSuffix)
$(RM) $(OutputFile)
$(RM) $(OutputFile).exe