source: llum/trunk/fuentes/banners-rsrc/Makefile @ 376

Last change on this file since 376 was 376, checked in by hectorgh, 4 years ago

adding project files

File size: 393 bytes
Line 
1NO_COLOR    = \x1b[0m
2BUILD_COLOR    = \x1b[32;01m
3CLEAN_COLOR    = \x1b[31;01m
4
5
6FILES:=$(patsubst %.svg,%.png,$(wildcard *.svg))
7
8       
9banners: $(FILES)
10
11%.png : %.svg
12        @echo -e '$(BUILD_COLOR)* Rendering [$@]$(NO_COLOR)' 
13        rsvg-convert $< > $(patsubst %.png,%.png,$@)
14       
15       
16banners-clean:
17        @echo -e '$(CLEAN_COLOR)* Cleaning...$(NO_COLOR)' 
18        rm -rf $(patsubst %.svg,%.png,$(wildcard *.svg))
19       
20       
Note: See TracBrowser for help on using the repository browser.