Thursday, 2 October 2008

NMAKE : U1073: don't know how to make 'TargetCompilePass'

Today I started to clean up a BSP and moved some COMMON directories to the new platform. In one directory I got the abovementioned build error.
The sources file seemed to be ok. Also the sources itself were fine. But what the hell was it?

A search in the web didn't bring the right hint. But an additional directory diff showed me what was missing: the "makefile". That's all. Grrrrrrrrr!

5 comments:

Anonymous said...

Hello,

Could you please elaborate what/where makefile was missing. I move a driver dll and edited registry under .../common/oak...
and got the same error as you are.

Thanks.

Jürgen Welzenbach said...

Hi, please check whether directories that contain a "sources" file also contain a "makefile".
This is mandatory!

Jürgen Welzenbach said...

If you accidentally put a dll in the FILES section instead of the MODULES section you will also get that error message.

Thanks to "anonymous"

Anonymous said...

missing "makefile" is the problem.

Cato said...

Oh my gosh. Thank you! This is exactly what was happening to me. Saved me probably an hour or so of work and a patch of hair on my head.