diff options
| author | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-07-15 17:29:49 +0300 |
|---|---|---|
| committer | Ivan Kanakarakis <ivan.kanak@gmail.com> | 2012-07-20 18:52:18 +0300 |
| commit | 7f4e890588fd67a2864c33c6a5279d14f5a17766 (patch) | |
| tree | 4a998ed5a4e0d17a6ec715ca2f08b2deaff3a4ee | |
| parent | 922f9af12f396a655ca7b5babdfc63a248e2590e (diff) | |
Makefile: rework X11 lib paths and includes
| -rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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} |
