altos/draw: Mock up TeleLCO boot sequence
[fw/altos] / src / draw / Makefile
index 7eee1fe6ca80edab9abcb40dc5c3d3998c443e3c..ccedc6a149caaef72d0b910b657932a93c637186 100644 (file)
@@ -57,7 +57,20 @@ BDFS=\
        FrutigerLT-Roman-36.bdf \
        FrutigerLT-Roman-48.bdf \
        FrutigerLT-Roman-64.bdf \
-       FrutigerLT-Roman-72.bdf
+       FrutigerLT-Roman-72.bdf \
+       NotoMono-10.bdf \
+       NotoMono-12.bdf \
+       NotoMono-14.bdf \
+       NotoMono-16.bdf \
+       NotoMono-18.bdf \
+       NotoMono-24.bdf \
+       NotoMono-26.bdf \
+       NotoMono-28.bdf \
+       NotoMono-32.bdf \
+       NotoMono-36.bdf \
+       NotoMono-48.bdf \
+       NotoMono-64.bdf \
+       NotoMono-72.bdf
 
 FONT_SRCS=$(BDFS:.bdf=.c)
 
@@ -73,8 +86,8 @@ $(FONT_SRCS): font-convert
 ao_font.h: $(FONT_SRCS)
        grep -h '^const struct ao_font' $(FONT_SRCS) | sed -e 's/^/extern /' -e 's/ =.*$$/;/' > $@
 
-ao_logo.h: make-logo Makefile
-       nickle make-logo ao_logo 48 0 10 > $@
+ao_logo.h: make-logo
+       nickle make-logo ao_logo > $@
 
 SRCS=\
        draw-test.c \
@@ -90,9 +103,9 @@ SRCS=\
 
 OBJS=$(SRCS:.c=.o)
 
-LIBS=-lXrender -lX11 -lm
+LIBS=-lXrender -lX11 -lm -Wl,--gc-sections
 
-CFLAGS=-O0 -g
+CFLAGS=-O0 -g $(WARN_FLAGS)
 
 HEADERS=\
        ao_draw.h \