Mail Archives: djgpp/1995/05/27/10:19:43
> I'm a new user of djgpp C Compiler, and I,ve found some problems. I'm trying
> to compile a project with the following makefile:
>
>
> CC = gcc
> CFLAGS = #-g
> OFLAGS = -O2
> LDFLAGS = -lm -lgrx
> LDDIRS = -Ic:\c\djgpp\contrib\libgrx\include -Lc:\c\djgpp\contrib\libgrx\lib
>
> proplot :proplot.o texto.o tabla.o comando.o objeto.o
> $(CC) $(OFLAGS) -o proplot proplot.o texto.o tabla.o objeto.o \
^^
Here (and the other lines as well) a tab is needed - a couple of blanks
won't do
> comando.o $(LDDIRS) $(LDFLAGS)
Thomas Eifert
- Raw text -