Scope-eye.net Git Repository
/
liskon_frotz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
473f72a
)
Adding OS-specific section for OpenBSD.
author
David Griffith
<dave@661.org>
Fri, 13 Sep 2019 18:18:23 +0000
(11:18 -0700)
committer
David Griffith
<dave@661.org>
Fri, 13 Sep 2019 18:18:23 +0000
(11:18 -0700)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 3c67ea1d67d9aa9a196f5e837681a6b58ad26e02..d2797cfce5bc46faeeaf2b7da698209aaeccaf8c 100644
(file)
--- 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)