From 2733436da522650d4e918b7bc7d65f966f149792 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sun, 7 Jan 2024 16:20:42 -0800 Subject: [PATCH] altos: Build in 'draw' directory first This makes various font bits for targets using graphics Signed-off-by: Keith Packard --- src/Makefile | 2 +- src/draw/Makefile | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index d3fc11d0..8f08e568 100644 --- a/src/Makefile +++ b/src/Makefile @@ -61,7 +61,7 @@ ARMM0DIRS=\ AVRDIRS=\ micropeak microkite microsplash -SUBDIRS= +SUBDIRS=draw ifeq ($(strip $(HAVE_ARM_M3_CC)),yes) SUBDIRS+=$(ARMM3DIRS) diff --git a/src/draw/Makefile b/src/draw/Makefile index 2696f300..6b986b42 100644 --- a/src/draw/Makefile +++ b/src/draw/Makefile @@ -95,7 +95,9 @@ FONT_SRCS=$(BDFS:.bdf=.c) .bdf.c: nickle font-convert -o $@ $< -all: ao_font.h ao_logo.h lco-test line-test +all: ao_font.h ao_logo.h + +test: lco-test line-test $(FONT_SRCS): font-convert -- 2.30.2