Hi ALex,

make relies on the tab character (ASCII 0x09) for indented lines. Some
editors change those tabs to a number of spaces (ASCII 0x20). So after
editing the makefile this error messages occur. Does it work when you use
the original (unedited) makefile?

Regards,
Ralf

-------------------------
"Alex Kouznetsov" <alex.kouznet...@cispl.com.au> schrieb im Newsbeitrag
news:6a0e44449d3cfc41a0406e8f04bed9ce58b...@cisplex1.cispl.com.au...
I am trying to learn MSPgcc and binutils using examples provided in
msp430-libc-1.0.20030207.tar. To ensure that I use Make.exe from the MSPgcc
distributive I use a batch file:
  D:\Tools\MSPgcc\bin\make.exe

When I try to make the example "bufferedUSART" I've got the following error
message
  Makefile:8: *** missing separator. Stop.
If I remove conditional around line 8 in the Makefile and leave that line as
follows
  include environ.mak  # ! in front of include is removed, otherwise it is
an error
then I've got the following error message
  Makefile:47: *** missing separator. Stop.
My knowledge of makefiles is not sufficient to figure out what is wrong in
the line 47:
  @$(CC) $(CPFLAGS) $< -c -o $@
What went wrong?

I experience same problems in the example "tasker" as well. Other samples
compiled OK.

Regards
  Alex




Reply via email to