From c3abe11330799bc1b007d6ca991d1b2965555627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 20 Nov 2021 17:58:19 +0100 Subject: Makefile: Override freetype path for OpenBSD The freetype path is not hardcoded and automatically changed depending on the current platform (Linux, BSD, .*) --- Makefile | 3 +++ config.openbsd.mk | 1 + 2 files changed, 4 insertions(+) create mode 100644 config.openbsd.mk 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} diff --git a/config.openbsd.mk b/config.openbsd.mk new file mode 100644 index 0000000..53c757e --- /dev/null +++ b/config.openbsd.mk @@ -0,0 +1 @@ +FREETYPEINC = ${X11INC}/freetype2 -- cgit v1.2.3