Blame view

epsilon-master/apps/picview/Makefile 521 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  app_objs += $(addprefix apps/picview/,\
    pic_view.o\
    picview_app.o\
    picview_controller.o\
  )
  
  apps/picview/pic_view.cpp: apps/picview/image.c
  
  apps/picview/image.c: apps/picview/image.raw
  	@echo "RAW2C   $@"
  	@echo "const /* Needed otherwise the image will eat up all RAM */" > $@
  	@xxd -i $^ >> $@
  
  apps/picview/image.raw: apps/picview/image.png
  	@echo "PNG2RAW $@"
  	@ffmpeg -loglevel panic -vcodec png -i $^ -vcodec rawvideo -f rawvideo -pix_fmt rgb565 $@
  
  products += $(addprefix apps/picview/, image.raw image.c)