Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

what are CFLAGS and LFLAGS?

0 views
Skip to first unread message

steve johnson

unread,
Dec 5, 1994, 8:10:21 AM12/5/94
to
trying to edit a makefile to get a server daemon running. the problem
seems to be with the x client subdirectory that comes with it.
specifically, the x makefile looks for a bunch of stuff in /usr/include/X,
and on my machine (sunos4.1.1) the path is /usr/include/X11. from the
README i can tell that i need to change the CFLAGS and/or the LFLAGS to
this path, but i don't really know what they are, what they do or how to
do it.

my guess is that CFLAGS are compiler flags and LFLAGS are library flags
(or paths) that it uses when it makes. true? false? if true, then it
seems like what i need to change is LFLAGS. looking at the makefile
(actually, not the makefile that comes w/the x client, but a more basic
one called mymakefile that's supplied for just such problems):

# if your X libraries are not in the standard places, add a -L to them.
#LFLAGS = -L/import/X11R4/usr/lib

so i should add:

LFLAGS = -L/usr/include/X11

right?

the other libraries it looks for are /usr/lib/X11 and /usr/local/lib,
which are correct on my system, so i shouldn't have to add them.

0 new messages