PROGS+=$(o)/leo
CFLAGS+=$(LIBUCW_CFLAGS)
-LEO_MODULES=leo xml osm svg svg-icon css-parse css-lex style css dict sym sym-point sym-line sym-text map shp fixed
+LEO_MODULES=leo xml osm svg svg-icon css-parse css-lex style css dict sym sym-point sym-line sym-scale sym-text map shp fixed
LEO_OBJECTS=$(addprefix $(o)/, $(addsuffix .o, $(LEO_MODULES)))
$(o)/leo: $(LEO_OBJECTS)
-$(o)/leo: LIBS+=$(LIBUCW_LIBS) $(LIBUCW_CHARSET_LIBS) $(LIBUCW_XML_LIBS) $(PANGOFT2_LIBS) $(FREETYPE_LIBS) -lproj
+$(o)/leo: LIBS+=$(LIBUCW_LIBS) $(LIBUCW_CHARSET_LIBS) $(LIBUCW_XML_LIBS) $(PANGOFT2_LIBS) $(FREETYPE_LIBS) -lproj -lm
$(o)/sym-text.o: CFLAGS+=$(FREETYPE_CFLAGS) $(PANGOFT2_CFLAGS)
$(o)/svg-icon.o: CFLAGS+=$(LIBUCW_XML_CFLAGS)
endif
.PHONY: install
-output.svg: $(o)/leo dump.osm poskole.css
+output.svg: $(o)/leo dump.osm map.cf poskole.css
$(o)/leo
output.pdf: output.svg