diff Makefile @ 1934:253c62b7144e

Allow specifying a default font path at build time
author Michael Pavone <pavone@retrodev.com>
date Sat, 18 Apr 2020 23:07:44 -0700
parents 0f135b214927
children f23e70fb6607
line wrap: on
line diff
--- a/Makefile	Sat Apr 18 22:44:17 2020 -0700
+++ b/Makefile	Sat Apr 18 23:07:44 2020 -0700
@@ -255,6 +255,10 @@
 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