Add a crappy sed hack to silence gcc warnings, sigh, I wish ImageMagick would update convert already.

Originally committed to SVN as r2898.
This commit is contained in:
Amar Takhar 2009-05-04 06:51:02 +00:00
parent 5b356f2755
commit f893e8a29f

View file

@ -13,7 +13,9 @@ CONVERT ?= %s \n \
for (v in image) {
printf("%s_xpm.xpm: %s\n", v, image[v])
printf(" $(CONVERT) -transparent \"#c0c0c0\" %s %s_xpm.xpm\n\n", image[v], v)
printf(" $(CONVERT) -transparent \"#c0c0c0\" %s xpm:- \\\
| sed \"2 s/^static char \\*xpm__\\[\\] =/const char \\*"v"_xpm\\[\\] =/\" \\\
> %s_xpm.xpm\n\n", image[v], v)
}
printf("bmp2xpm:")