commit 967aa49c1bb745cd1b125d960ea2eea2b487c38e
parent 4773fb5351772d69fa3aba607c9a8280c4674e7b
Author: Bastien Dejean <nihilhill@gmail.com>
Date: Sat, 12 Jan 2013 10:44:33 +0100
Specify full paths for '-I' and '-L'
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -2,9 +2,9 @@ VERSION = 0.1
CC = gcc
LIBS = -lm -lxcb -lxcb-keysyms
-CFLAGS = -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)
+CFLAGS = -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)/include
CFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\"
-LDFLAGS = -L$(PREFIX)
+LDFLAGS = -L$(PREFIX)/lib
PREFIX ?= /usr/local
BINPREFIX = $(PREFIX)/bin