For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > February 2006 > Re: make: *** No rule to make target `all'. Stop.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: make: *** No rule to make target `all'. Stop.
Ralf Fassel

2006-02-24, 6:59 pm

* "toby" <toby@telegraphics.com.au>
| Eclipse typically issues 'make all' to build a project, if you're
| building from its GUI, so it is probably helpful to define it.)

Make sure the white space before the gcc line is a TAB character.
In your posting there were spaces before the 'gcc'.

all: qsort
qsort: qsort.c
gcc qsort.c -o qsort -pthread
^ 1 character TAB, not eight spaces.

R'
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com