DragonFly BSD
DragonFly users List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

newbie: makefile question


From: Michael Sanders <bluelamp100@xxxxxxxxx>
Date: Fri, 27 Jan 2012 12:21:51 -0600

Hi folks, question...

Attempting to compile some X11 code, but seem to be having problems
with the linker paths in the makefile. Hoping someone could advise me
on this issue. (libs/includes/headers are installed). I cant seem to find
the correct path (coming from a Linux world here...).

Here's the portion in question before modification:

X11INC = /usr/include/X11
X11LIB = /usr/lib/X11

INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11

And the same portion after modification:

X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib

INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11


Thanks.

-- 
Later on,
Mike

http://www.topcat.hypermart.net/index.html



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]