summaryrefslogtreecommitdiff
blob: f647b155b3a990208b4be33a786ffdc5b961898c (plain)
1
2
3
4
5
6
7
8
9
10
--- libsvgtiny-0.1.3/src/Makefile
+++ libsvgtiny-0.1.3/src/Makefile
@@ -5,6 +5,7 @@
 
 $(BUILDDIR)/src_colors.c: src/colors.gperf
 	$(VQ)$(ECHO) "   GPERF: $<"
+	mkdir -p $(@D)
 	$(Q)gperf --output-file=$@.tmp $<
 # Hack for GCC 4.2 compatibility (gperf 3.0.4 solves this properly)
 	$(Q)$(SED) -e 's/#ifdef __GNUC_STDC_INLINE__/#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__/' $@.tmp >$@