Formatting
This commit is contained in:
parent
27c03246ca
commit
0c987c691c
24
config.mk
24
config.mk
|
@ -2,27 +2,27 @@
|
||||||
PROG = xmenu
|
PROG = xmenu
|
||||||
|
|
||||||
# paths
|
# paths
|
||||||
PREFIX = /usr/local
|
PREFIX ?= /usr/local
|
||||||
MANPREFIX = ${PREFIX}/share/man
|
MANPREFIX ?= ${PREFIX}/share/man
|
||||||
|
|
||||||
LOCALINC = /usr/local/include
|
LOCALINC ?= /usr/local/include
|
||||||
LOCALLIB = /usr/local/lib
|
LOCALLIB ?= /usr/local/lib
|
||||||
|
|
||||||
X11INC = /usr/X11R6/include
|
X11INC ?= /usr/X11R6/include
|
||||||
X11LIB = /usr/X11R6/lib
|
X11LIB ?= /usr/X11R6/lib
|
||||||
|
|
||||||
FREETYPEINC = /usr/include/freetype2
|
FREETYPEINC ?= /usr/include/freetype2
|
||||||
# OpenBSD (uncomment)
|
# OpenBSD (uncomment)
|
||||||
#FREETYPEINC = ${X11INC}/freetype2
|
#FREETYPEINC = ${X11INC}/freetype2
|
||||||
|
|
||||||
# includes and libs
|
# includes and libs
|
||||||
INCS = -I${LOCALINC} -I${X11INC} -I${FREETYPEINC}
|
INCS := -I${LOCALINC} -I${X11INC} -I${FREETYPEINC}
|
||||||
LIBS = -L${LOCALLIB} -L${X11LIB} -lfontconfig -lXft -lX11 -lXinerama -lImlib2
|
LIBS := -L${LOCALLIB} -L${X11LIB} -lfontconfig -lXft -lX11 -lXinerama -lImlib2
|
||||||
|
|
||||||
# flags
|
# flags
|
||||||
CPPFLAGS =
|
CPPFLAGS :=
|
||||||
CFLAGS = -Wall -Wextra ${INCS} ${CPPFLAGS}
|
CFLAGS := -Wall -Wextra ${INCS} ${CPPFLAGS}
|
||||||
LDFLAGS = ${LIBS}
|
LDFLAGS := ${LIBS}
|
||||||
|
|
||||||
# compiler and linker
|
# compiler and linker
|
||||||
CC = cc
|
CC = cc
|
||||||
|
|
Loading…
Reference in New Issue
Block a user