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>2023-06-05 18:10:19 +0200
commitdd5eea65afa649fba5b41c9755ef7f4db7109cae (patch)
tree430776699a8b785b31e5981644418fdbfef3f1b8 /Makefile
parente81f17d4c196aaed6893fd4beed49991caa3e2a4 (diff)
downloaddwm-dd5eea65afa649fba5b41c9755ef7f4db7109cae.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 77bcbc0..6380836 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.