mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
20 lines
661 B
Makefile
20 lines
661 B
Makefile
CFLAGS += -Ikandinsky/include -Iplatform/stm32f429
|
|
objs += $(addprefix kandinsky/src/, line.o text.o font.o)
|
|
|
|
FREETYPE_PATH := /usr/local/Cellar/freetype/2.5.5
|
|
LIBPNG_PATH := /usr/local/Cellar/libpng/1.6.17
|
|
|
|
kandinsky/src/text.c: kandinsky/src/font.h
|
|
|
|
font_files = $(addprefix kandinsky/src/, font.h font.c)
|
|
|
|
$(font_files): kandinsky/fonts/rasterizer
|
|
@echo "RASTER $(font_files)"
|
|
@$< kandinsky/fonts/DroidSansMono.ttf 20 20 $(font_files)
|
|
|
|
kandinsky/fonts/rasterizer: kandinsky/fonts/rasterizer.c
|
|
@echo "HOSTCC $@"
|
|
@clang -I$(FREETYPE_PATH)/include/freetype2 -L$(FREETYPE_PATH)/lib -lfreetype $< -o $@
|
|
|
|
products += $(font_files) kandinsky/fonts/rasterizer
|