]> gitweb.michael.orlitzky.com - libsvgtiny.git/blob - src/Makefile
Build: Include gperf-generated code directly.
[libsvgtiny.git] / src / Makefile
1 # Sources
2 DIR_SOURCES := svgtiny.c svgtiny_gradient.c svgtiny_list.c
3
4 SOURCES := $(SOURCES)
5
6 $(DIR)autogenerated_colors.c: src/colors.gperf
7 $(VQ)$(ECHO) " GPERF: $<"
8 $(Q)gperf --output-file=$@ $<
9
10 PRE_TARGETS := $(DIR)autogenerated_colors.c
11
12 CLEAN_ITEMS := $(DIR)autogenerated_colors.c
13
14 include $(NSBUILD)/Makefile.subdir