commit f5cc4b4efa41250411f5bd0253c8a0e815385cfd parent 35bcaa5df8db1562e39ed48632f37b790f892502 Author: Bastien Dejean <nihilhill@gmail.com> Date: Thu, 20 Jun 2013 10:58:00 +0200 Don't clobber system build flags Diffstat:
M | Makefile | | | 8 | ++++---- |
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile @@ -1,10 +1,10 @@ VERSION = 0.3 -CC = gcc -LIBS = -lm -lxcb -lxcb-keysyms -CFLAGS = -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)/include +CC = gcc +LIBS = -lm -lxcb -lxcb-keysyms +CFLAGS += -std=c99 -pedantic -Wall -Wextra -I$(PREFIX)/include CFLAGS += -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\" -LDFLAGS = -L$(PREFIX)/lib +LDFLAGS += -L$(PREFIX)/lib PREFIX ?= /usr/local BINPREFIX = $(PREFIX)/bin