altos/draw: use --gc-sections in demo program
[fw/altos] / src / draw / Makefile
index 721fa1570fc7305b00168cc52a1936c76be2ea5d..cbbd3457db14d7beafe7e714c33a5914221f8ead 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)
 
@@ -90,7 +103,7 @@ SRCS=\
 
 OBJS=$(SRCS:.c=.o)
 
-LIBS=-lXrender -lX11 -lm
+LIBS=-lXrender -lX11 -lm -Wl,--gc-sections
 
 CFLAGS=-O2 -g $(WARN_FLAGS)