You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
toaster-oven-bluepill/Lib/ufb/Makefile

18 lines
480 B

2 years ago
.PHONY: build run fonts
all: fonts ufb-test
fonts: Src/fontedit_35.c Src/fontedit_45.c Src/fontedit_57.c
tcc -run Src/fontedit_35.c -ISrc -IInc > Src/font_35.inc.c || true
tcc -run Src/fontedit_45.c -ISrc -IInc > Src/font_45.inc.c || true
tcc -run Src/fontedit_57.c -ISrc -IInc > Src/font_57.inc.c || true
run: ufb-test
./ufb-test
clean:
rm -f ufb-test
ufb-test: Src/main.c Src/framebuffer.c Src/utf8.c Src/font.c Src/fb_7seg.c Src/fb_text.c
$(CC) -o $@ $^ -ISrc -IInc