Mail Archives: djgpp/1996/07/17/12:01:02
Thinking furiously, Bresie wrote:
>
> When I did the, I found that my CFLAGS were not being included (or so I
> assume) when compiled (they are not displayed; I do not know if they are
> not displayed to begin with but anyway...)
>
> Ultimately, the output of the compilation looks something along the lines of:
>
> gcc -c init.c
>
> without anything else being displayed.
>
> Am I missing something?
Yes, see below.
>
> My makefile looks like this:
> LIB_FLAGS = -L/C/djgpp/LIB -lxlib
> CFLAGS = $(LIB_FLAGS -O2)
> CC = gcc $(CFLAGS)
The line (from your makefile as shown above):
CFLAGS = $(LIB_FLAGS -O2)
Should be changed so that it reads:
CFLAGS = $(LIB_FLAGS) -O2
Fred
--
-------------------------------------------------------------------------------
.---- Fred Smith / Office: fred AT computrition DOT com
( /__ ,__. __ __ / __ : / 508-663-2524
/ / / /__) / / /__) .+' Home: fredex AT fcshome DOT stoneham DOT ma DOT us
/ / (__ (___ (__(_ (___ / :__ 617-438-5471
-------------------------------- Jude 1:24,25 ---------------------------------
- Raw text -