summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorLaslo Hunhold <dev@frign.de>2018-05-01 20:50:53 +0200
committerAaron Marcher <me@drkhsh.at>2018-05-01 20:53:27 +0200
commit24b663d6570563a2dc601363c26ebd4d0bb36611 (patch)
tree3d024a92913afaf5cbf89b8410a8c2f44e8eea73 /config.mk
parent41deabf2ec1ad5f10851421cfbaf17023e7de05f (diff)
Tweak build system a little bit
Be consistent with brackets and add a comment for OpenBSD to make it clearer what the actual intent of the uncommented line is. In the Makefile, add a dependency of slstatus.o from config.mk.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/config.mk b/config.mk
index a148da4..9d26bc3 100644
--- a/config.mk
+++ b/config.mk
@@ -5,19 +5,17 @@ VERSION = 0
# paths
PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/share/man
+MANPREFIX = $(PREFIX)/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
-# OpenBSD (uncomment)
-#OSSLIBS = -lossaudio
-
# flags
CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
LDFLAGS = -L$(X11LIB) -s
-LDLIBS = -lX11 ${OSSLIBS}
+# OpenBSD: add -lossaudio
+LDLIBS = -lX11
# compiler and linker
CC = cc