I writed a simple make program.
object=hello.o
hello:$(objects)
qcc -o hello $(objects)
hello.o:hello.c
qcc -c hello.c
…PHONY:clean
-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