Commit 66bd5f79 authored by Joel Holdsworth's avatar Joel Holdsworth Committed by Alexandre Julliard

makefiles: Added a rule for building BMPs from SVGs.

parent 00b40ac4
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment