From 11b5712919277a445fae5fc329559fcc09017097 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 1 May 2014 16:57:50 +0100 Subject: add tooling support for OpenBSD --- makefiles/Makefile.tools | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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 ############################################################################### -- cgit v1.2.3