From: Keith Packard Date: Mon, 8 Jan 2024 00:20:42 +0000 (-0800) Subject: altos: Build in 'draw' directory first X-Git-Tag: 1.9.18~2^2~67 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=2733436da522650d4e918b7bc7d65f966f149792 altos: Build in 'draw' directory first This makes various font bits for targets using graphics Signed-off-by: Keith Packard --- 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