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