makefiles: Added a rule for building BMPs from SVGs.
This commit is contained in:
parent
00b40ac447
commit
66bd5f79cc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue