makefiles: Added a rule for building BMPs from SVGs.

This commit is contained in:
Joel Holdsworth 2010-04-24 14:06:11 +01:00 committed by Alexandre Julliard
parent 00b40ac447
commit 66bd5f79cc
1 changed files with 6 additions and 1 deletions

View File

@ -136,7 +136,7 @@ filter: dummy
# Implicit rules
.SUFFIXES: .mc .rc .mc.rc .res .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c .cross.o @MAINTAINER_MODE@ .sfd .ttf .svg .ico
.SUFFIXES: .mc .rc .mc.rc .res .idl .tlb .h .y .l .tab.c .tab.h .yy.c .ok .man.in .man _c.c _i.c _p.c _s.c .cross.o @MAINTAINER_MODE@ .sfd .ttf .svg .ico .bmp
.c.o:
$(CC) -c $(ALLCFLAGS) -o $@ $<
@ -192,6 +192,11 @@ filter: dummy
.svg.ico:
CONVERT="$(CONVERT)" ICOTOOL="$(ICOTOOL)" RSVG="$(RSVG)" $(BUILDICON) $< $@
.svg.bmp:
$(RSVG) $< $<.png
$(CONVERT) $<.png -alpha off $@
$(RM) $<.png
# Rules for IDL files
dlldata.c: $(WIDL) Makefile.in