hari
hari

Reputation: 9743

how to debug make

If make fails with: "bmake: don't know how to make blah", what/where is the best place to start looking for problems? why did it fail? What does it mean by "don't know"?

Upvotes: 3

Views: 848

Answers (3)

CLH
CLH

Reputation: 89

the Makefile should include all your source file like .c and .o (and .h if necessary)

and the point is that the compiling step should follow like this :

FileName ---> FileName.o ---> FileName.c

hope it does help you.

0r try search keyword "makefile" on google

it's not difficult to read it.

Upvotes: 0

Doug Currie
Doug Currie

Reputation: 41220

See the GNU Make Debugger

Upvotes: 4

Brian Roach
Brian Roach

Reputation: 76918

It means the Makefile doesn't have that target. It doesn't know what you're talking about.

Upvotes: 1

Related Questions