Mail Archives: djgpp/1997/08/10/21:49:29
diego j vilasuso <rilic AT wwa DOT com> wrote:
: I need help in understanding an error message I receive when I
: try to run a MAKEFILE. The 'makefile' is very simple:
: main.o : main.cc define.h
: gxx -c main.cc
: func.o : func.cc define.h
: gxx -c func.cc
: runp : main.o func.o makefile
: gxx -o runp main.o func.o
: Actually just about any order or of any of the above
: produces the same error. The erroe being:
: makefile: 4: *** missing seperator. Stop.
: What does this mean? I'll apperciate any input.
Hello!
The most probable problem is that the lines defining the actions to be
taken (eg. gxx ....) have to start with a TAB, not a bunch of spaces.
Some text editors silently translate your TAB's to say 8 spaces, so
you might want to try another one...
Hope this helps!
Alain Borel
<Alain DOT Borel AT icma DOT unil DOT ch>
- Raw text -