summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2020-04-18 23:07:44 -0700
committerMichael Pavone <pavone@retrodev.com>2020-04-18 23:07:44 -0700
commit6f24fe6971e31837abecb3367967ddc8d8c103dd (patch)
treea31e7f37239c53b1a57a854cb02e1a490fb288e2 /Makefile
parent897b2c899f7932e6ac4842765fd3a870f5201901 (diff)
Allow specifying a default font path at build time
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8be670c..5a26137 100644
--- a/Makefile
+++ b/Makefile
@@ -255,6 +255,10 @@ ifdef DATA_PATH
CFLAGS+= -DDATA_PATH='"'$(DATA_PATH)'"'
endif
+ifdef FONT_PATH
+CFLAGS+= -DFONT_PATH='"'$(FONT_PATH)'"'
+endif
+
ALL=dis$(EXE) zdis$(EXE) stateview$(EXE) vgmplay$(EXE) blastem$(EXE)
ifneq ($(OS),Windows)
ALL+= termhelper