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:
parent
b88254856b
commit
952935cbea
1 changed files with 3 additions and 1 deletions
|
@ -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:")
|
||||
|
|
Loading…
Reference in a new issue