From 0c987c691c8ba61b7f5d4d93630ae43d9545f4e9 Mon Sep 17 00:00:00 2001 From: KawaiiAmber Date: Sat, 19 Dec 2020 00:54:38 -0700 Subject: [PATCH] Formatting --- config.mk | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/config.mk b/config.mk index 33b2143..eed2127 100644 --- a/config.mk +++ b/config.mk @@ -2,27 +2,27 @@ PROG = xmenu # paths -PREFIX = /usr/local -MANPREFIX = ${PREFIX}/share/man +PREFIX ?= /usr/local +MANPREFIX ?= ${PREFIX}/share/man -LOCALINC = /usr/local/include -LOCALLIB = /usr/local/lib +LOCALINC ?= /usr/local/include +LOCALLIB ?= /usr/local/lib -X11INC = /usr/X11R6/include -X11LIB = /usr/X11R6/lib +X11INC ?= /usr/X11R6/include +X11LIB ?= /usr/X11R6/lib -FREETYPEINC = /usr/include/freetype2 +FREETYPEINC ?= /usr/include/freetype2 # OpenBSD (uncomment) #FREETYPEINC = ${X11INC}/freetype2 # includes and libs -INCS = -I${LOCALINC} -I${X11INC} -I${FREETYPEINC} -LIBS = -L${LOCALLIB} -L${X11LIB} -lfontconfig -lXft -lX11 -lXinerama -lImlib2 +INCS := -I${LOCALINC} -I${X11INC} -I${FREETYPEINC} +LIBS := -L${LOCALLIB} -L${X11LIB} -lfontconfig -lXft -lX11 -lXinerama -lImlib2 # flags -CPPFLAGS = -CFLAGS = -Wall -Wextra ${INCS} ${CPPFLAGS} -LDFLAGS = ${LIBS} +CPPFLAGS := +CFLAGS := -Wall -Wextra ${INCS} ${CPPFLAGS} +LDFLAGS := ${LIBS} # compiler and linker CC = cc