diff Makefile.cross-mingw @ 2547:71f04d8e791e

Implement a simple shell script for finding C64 chargen ROM image file (if any can be found) for *NIX builds and note the existence of the DM_DEF_CHARGEN define in MinGW Makefile with an example.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 18 Oct 2021 16:58:02 +0300
parents 8abdd95139d6
children 8ab923fe23ef
line wrap: on
line diff
--- a/Makefile.cross-mingw	Mon Oct 18 15:42:14 2021 +0300
+++ b/Makefile.cross-mingw	Mon Oct 18 16:58:02 2021 +0300
@@ -14,6 +14,13 @@
 # make -f Makefile.cross-mingw MINGW=64 BINTOOL_PREFIX=foo-bar-zoo
 #
 
+# NOTE! If you want to define the default path for C64 chargen
+# ROM image file, you can set it with this define. Do take note of
+# the somewhat peculiar quotation and escape of backlash '\', these
+# are REQUIRED.
+CFLAGS += -DDM_DEF_CHARGEN='"C:\\VICE-3.5\\C64\\chargen"'
+
+
 ifeq ($(MINGW),64)
 BINTOOL_PREFIX ?= x86_64-w64-mingw32-
 MINGW_SYS_PATH ?= /usr/x86_64-w64-mingw32