aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorRomain Gonçalves <commit@rgoncalves.se>2021-11-20 17:58:19 +0100
committerRomain Gonçalves <me@rgoncalves.se>2024-10-09 20:09:49 +0200
commitc3abe11330799bc1b007d6ca991d1b2965555627 (patch)
tree54582069eab479a4be0a2bd9869f105f90b05d06 /Makefile
parent8933ebcf50024f4378a78e556b1ac08091197206 (diff)
downloaddwm-c3abe11330799bc1b007d6ca991d1b2965555627.tar.gz
Makefile: Override freetype path for OpenBSD
The freetype path is not hardcoded and automatically changed depending on the current platform (Linux, BSD, .*)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index ffa69b4..c916c84 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
# dwm - dynamic window manager
# See LICENSE file for copyright and license details.
+UNAME != uname | tr '[:upper:]' '[:lower:]'
+
include config.mk
+sinclude config.${UNAME}.mk
SRC = drw.c dwm.c util.c
OBJ = ${SRC:.c=.o}
remember that computers suck.