summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--makefiles/Makefile.tools15
1 files changed, 15 insertions, 0 deletions
diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools
index 5b76f23..334ee83 100644
--- a/makefiles/Makefile.tools
+++ b/makefiles/Makefile.tools
@@ -367,6 +367,17 @@ ifeq ($(TARGET),m5475_atari)
endif
endif
+# OpenBSD
+ifeq ($(TARGET),OpenBSD)
+ ifeq ($(HOST),OpenBSD)
+ CFLAGS := $(CFLAGS) -I$(GCCSDK_INSTALL_ENV)/include -I/usr/local/include
+ CXXFLAGS := $(CXXFLAGS) -I$(GCCSDK_INSTALL_ENV)/include -I/usr/local/includ
+ LDFLAGS := $(LDFLAGS) -L$(GCCSDK_INSTALL_ENV)/lib -L/usr/local/lib
+
+ FLEX := gflex
+ endif
+endif
+
# Default prefix
PREFIX ?= /usr/local
@@ -420,6 +431,10 @@ TOUCH ?= touch
XSLTPROC ?= xsltproc
+FLEX ?= flex
+
+BISION ?= bison
+
###############################################################################
# Override defaulted tools
###############################################################################