Mail Archives: djgpp/1998/12/29/08:43:21
Hello,
I tried to compile and linke it using gmake and it gave
me the same result. 
This is my Makefile:
OBJS=main.o foo.o
CXXFLAGS=-Wall -g
main: $(OBJS)
	g++ $(CXXFLAGS) $(OBJS) -o main
foo.o:foo.cc foo.hh
main.o:main.cc main.hh
On Tue, 29 Dec 1998, Eli Zaretskii wrote:
> 
> On Mon, 28 Dec 1998, oferco wrote:
> 
> > foo.o: file not recognized: File truncated
> > make: *** [moo] Error 1
> > 
> > Of course, foo.cc & foo.hh, moo.cc and moo.hh, are part of the program.
> > Both are compiled OK. 
> 
> Please post the exact command(s) used to compile and link the relevant
> files.  Since this was done via Make, please also post the relevant
> parts of the Makefile you used.
> 
- Raw text -