Blame view

img/Makefile 347 Bytes
05eb2eae   Geoffrey PREUD'HOMME   Better images
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
  GENIMG=lille1.png polytechlille.png
  CMPIMG=CREP-1.jpg CREP-2.jpg CREP-3.jpg CREP-4.jpg CREP-5.jpg
  
  all: $(GENIMG) $(CMPIMG)
  
  %.png: %.svg
  	inkscape -f $< -e $@
  	convert -background none $< $@
  	optipng -o7 $@
  
  %.jpg: orig/%.jpg
  	convert -resize x600 -strip -interlace Plane -gaussian-blur 0.05 -quality 90% $< $@
  
  clean:
  	rm -rf $(GENIMG) $(CMPIMG)