summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2021-09-14 17:03:08 +0000
committerIan C <ianc@noddybox.co.uk>2021-09-14 17:03:08 +0000
commitd76fb735b01fe54bfd1efda96d47e7ea2bc4e71e (patch)
tree0510a7303b508f037765361ef5b7a740b27b84ac /Makefile
parent799e5f977ef34218e3e5c817ae5f5a571ac4c930 (diff)
Tweaks to build on FreeBSD
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
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
#