Re: Somewhat OT: Problem with make at work.



"Robbie Hatley" <lonewolfintj@xxxxxxxxxxx> wrote in message
news:6uZNh.213$5e2.30@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I'm having a problem with "make" at work. It works fine at home,
but when I use it at work I get Error "-1" whenever attempting to
to run ANY external command.

Even a simple makefile like this bombs out:
blat:
[tab]@echo splat

When I type "make<ENTER>", what it SHOULD do is just print
"splat". What it does instead is this:
make.exe: *** [blat] Error -1

Couple of things: Are you sure the makefile is being saved with
a real tab character? Does the last line in the makefile end with
a newline (or whatever the end-of-line character is on your
system)?

That last one bites us around here because some developers insist
that a final EOL should not be necessary in a text file no matter
how many times it breaks a build.

-Wm





.