Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Errror in makefile
Errror in makefile [message #78217] Sat, 09 August 2003 16:01 Go to next message
Eclipse UserFriend
Originally posted by: aumasta.web.de

Hi there
i tried make as described in the tutorial but it doesnt seem to work. What
am i doing wrong?
thanks a lot


************************************************************ *
makefile
CXXFLAGS = -g

all : main.o
${CXX} ${CXXFLAGS} -o hello.exe main.o

clean:
-rf hello.exe main.o
************************************************************ *
output:
H:\Borland\BCC55\Bin\make.exe
MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
>>>>> Error makefile 7: Command syntax error
Re: Errror in makefile [message #78246 is a reply to message #78217] Sun, 10 August 2003 00:49 Go to previous message
Eclipse UserFriend
Michael Aumeier wrote:

> Hi there
> i tried make as described in the tutorial but it doesnt seem to work. What
> am i doing wrong?
> thanks a lot
>
>
> ************************************************************ *
> makefile
> CXXFLAGS = -g
>
> all : main.o
> ${CXX} ${CXXFLAGS} -o hello.exe main.o
^^^
<TAB> missing

<TAB>${CXX} ${CXXFLAGS} -o hello.exe main.o

>
> clean:
> -rf hello.exe main.o
^^^
<TAB> missing

<TAB>-rf hello.exe main.o
> ************************************************************ *
> output:
> H:\Borland\BCC55\Bin\make.exe
> MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
>
>>>>>>Error makefile 7: Command syntax error
>
>
>
Previous Topic:How to build a plugin using c?
Next Topic:LPEX and default C editor and CDT installation
Goto Forum:
  


Current Time: Thu Jul 17 20:36:18 EDT 2025

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

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

Back to the top