From 69dc3b2d094bbae204e798e8ea9279c9a1ca60fb Mon Sep 17 00:00:00 2001 From: David Griffith Date: Fri, 13 Sep 2019 11:18:23 -0700 Subject: [PATCH] Adding OS-specific section for OpenBSD. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 3c67ea1..d2797cf 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,12 @@ ifneq ($(OS),Windows_NT) LDFLAGS += -L/usr/local/lib SDL_LDFLAGS += -lexecinfo endif + ifeq ($(UNAME_S),OpenBSD) + OPENBSD = yes + CFLAGS += -I/usr/local/include + LDFLAGS += -L/usr/local/lib + SDL_LDFLAGS += -lexecinfo + endif ifeq ($(UNAME_S),Linux) CFLAGS += -D_POSIX_C_SOURCE=200809L NPROCS = $(shell grep -c ^processor /proc/cpuinfo) -- 2.34.1