Browse Source

Formatting

master
KawaiiAmber 4 years ago
parent
commit
0c987c691c
1 changed files with 12 additions and 12 deletions
  1. +12
    -12
      config.mk

+ 12
- 12
config.mk View File

@@ -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

Loading…
Cancel
Save