Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » make file error
make file error [message #62719] Fri, 21 February 2003 15:13 Go to next message
Eclipse UserFriend
Originally posted by: dzhang79.hotmail.com

To ALL:

i am getting error from the makefile.
**************************************************
hello : hello.o
gcc -o hello hello.o -L /usr/bin/gcc -lstdc++
hello.o : hello.cpp
gcc -c hello.cpp
all :
${MAKE} hello
PHONY : clean
clean :
-rm -f hello.o hello.o

make -k
makefile:2: *** missing separator. Stop.
************************************************

any help will be appreciated. Thanks
Re: make file error [message #62745 is a reply to message #62719] Fri, 21 February 2003 16:13 Go to previous message
Eclipse UserFriend
Make sure your indented lines are indented with tab characters, rather
than spaces.

Brian

Danny wrote:
> To ALL:
>
> i am getting error from the makefile.
> **************************************************
> hello : hello.o
> gcc -o hello hello.o -L /usr/bin/gcc -lstdc++
> hello.o : hello.cpp
> gcc -c hello.cpp
> all :
> ${MAKE} hello
> PHONY : clean
> clean :
> -rm -f hello.o hello.o
>
> make -k
> makefile:2: *** missing separator. Stop.
> ************************************************
>
> any help will be appreciated. Thanks
>
Previous Topic:TimeStorm 2.0 beta release
Next Topic:Is CDT available for debugging NOW?
Goto Forum:
  


Current Time: Wed Apr 16 10:33:11 EDT 2025

Powered by FUDForum. Page generated in 0.02559 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top