Problems about compiling c++ standard make project in eclips

bridged with qdn.public.devtools
Post Reply
dyq

Problems about compiling c++ standard make project in eclips

Post by dyq » Mon Sep 01, 2003 1:31 am

I writed a simple make program.
object=hello.o
hello:$(objects)
<tab>qcc -o hello $(objects)
hello.o:hello.c
<tab>qcc -c hello.c
..PHONY:clean
<tab>-rm hello $(objects)

If I use the command: make mk in terminal ,it works fine and I can get the
excutable file .But if I use the command make /root/workspace/mk in
Eclipse,I get the error:No rule to make target 'mk'.Stop.

Who can tell me what's the problem? Thanks!
Help

Post Reply

Return to “qdn.public.devtools”