2 DIR_SOURCES := svgtiny.c svgtiny_css.c svgtiny_gradient.c svgtiny_list.c
6 $(DIR)autogenerated_colors.c: src/colors.gperf
7 $(VQ)$(ECHO) " GPERF: $<"
8 $(Q)gperf --output-file=$@.tmp $<
9 # Squash "error: no previous declaration for 'svgtiny_color_lookup'"
10 $(Q)$(SED) -e 's/^\(const struct svgtiny_named_color\)/static \1/' $@.tmp >$@
13 PRE_TARGETS := $(DIR)autogenerated_colors.c
15 CLEAN_ITEMS := $(DIR)autogenerated_colors.c
17 include $(NSBUILD)/Makefile.subdir