From 70e922c293c1296cb72516d76e627b0f338e1c55 Mon Sep 17 00:00:00 2001 From: "Logan Joy-Koer (SuperbeeLavaman)" Date: Fri, 25 Apr 2025 23:25:31 -0700 Subject: [PATCH] update makefile --- makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/makefile b/makefile index b58bc81..00b6747 100644 --- a/makefile +++ b/makefile @@ -12,11 +12,15 @@ CXXFLAGS = -Wall -Wextra -Oz # ---------------------------- +all: build-font + include $(shell cedev-config --makefile) -FONTPACKNAME = termFont +FONTPACKNAME = TermFont FONTDIR = $(SRCDIR)/gfx -DEPS = $(BINDIR)/$(FONTPACKNAME).8xv -$(BINDIR)/$(FONTPACKNAME).8xv: $(SRCDIR)/gfx/$(FONTPACKNAME).bin - $(Q)convbin --iformat bin --input $(SRCDIR)/gfx/$(FONTPACKNAME).bin --oformat 8xv --output $(BINDIR)/$(FONTPACKNAME).8xv --archive --name $(FONTPACKNAME) +SHELL := /bin/bash + +build-font: + python3 scripts/convert-fonttiles.py $(FONTDIR)/$(FONTPACKNAME).png $(BINDIR)/$(FONTPACKNAME).bin + convbin --iformat bin --oformat 8xv --input $(BINDIR)/$(FONTPACKNAME).bin --output $(BINDIR)/$(FONTPACKNAME).8xv --name $(FONTPACKNAME)