From d76fb735b01fe54bfd1efda96d47e7ea2bc4e71e Mon Sep 17 00:00:00 2001
From: Ian C <ianc@noddybox.co.uk>
Date: Tue, 14 Sep 2021 17:03:08 +0000
Subject: Tweaks to build on FreeBSD

---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index b7f283b..447bbd6 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@
 # Simply comment out if not, and replace as needed.
 # Other CFLAGS lines *are* required.
 #
-CFLAGS	=	-g -w -Wsequence-point -O2 -finline-functions
+CFLAGS	=	-g -w -Wsequence-point -O2 -finline-functions -I/usr/local/include
 
 # Decide on what to build.  Options are:
 #	emma	- Simple 'breadboard' computer.
@@ -41,7 +41,7 @@ TARGETS =	emma test
 # Remove the following to disable the use of readline in EMMA
 #
 CFLAGS	+=	-DENABLE_READLINE
-LIBS	+=	-lreadline
+LIBS	+=	-L/usr/local/lib -lreadline
 
 
 #
-- 
cgit v1.2.3