From 7f4e890588fd67a2864c33c6a5279d14f5a17766 Mon Sep 17 00:00:00 2001 From: Ivan Kanakarakis Date: Sun, 15 Jul 2012 17:29:49 +0300 Subject: Makefile: rework X11 lib paths and includes --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0381443..41429e2 100644 --- a/Makefile +++ b/Makefile @@ -7,11 +7,11 @@ PREFIX ?= /usr/local BINDIR ?= ${PREFIX}/bin MANPREFIX = ${PREFIX}/share/man -X11INC = /usr/include/X11 -X11LIB = /usr/lib/X11 +X11INC = -I/usr/X11R6/include +X11LIB = -L/usr/X11R6/lib -lX11 -INCS = -I. -I/usr/include -I${X11INC} -LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 +INCS = -I. -I/usr/include ${X11INC} +LIBS = -L/usr/lib -lc ${X11LIB} CFLAGS = -s -Os -std=c99 -pedantic -Wall -Wextra ${INCS} -DVERSION=\"${VERSION}\" LDFLAGS = -s ${LIBS} -- cgit v1.3.1