Skip to content

Instantly share code, notes, and snippets.

@ao-kenji
Created July 19, 2014 00:45
Show Gist options
  • Save ao-kenji/1a0647ea33c6cca2bceb to your computer and use it in GitHub Desktop.
Save ao-kenji/1a0647ea33c6cca2bceb to your computer and use it in GitHub Desktop.
diff --git a/makefile b/makefile
index caf405f..4f2b5f9 100644
--- a/makefile
+++ b/makefile
@@ -4,8 +4,8 @@ CC ?= gcc
CFLAGS ?= -std=c99 -pedantic -Wall -Wextra -O3 -s -pipe
LDFLAGS ?=
-XCFLAGS ?= -std=c99 -pedantic -Wall -Wextra -I/usr/include/X11/ -O3 -s -pipe
-XLDFLAGS ?= -lX11
+XCFLAGS ?= -std=c99 -pedantic -Wall -Wextra -I/usr/X11R6/include -O3 -s -pipe
+XLDFLAGS ?= -L/usr/X11R6/lib -lX11
HDR = color.h conf.h dcs.h draw.h function.h osc.h parse.h terminal.h util.h yaft.h glyph.h \
fb/linux.h fb/freebsd.h fb/netbsd.h fb/openbsd.h x/x.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment