Author: wmb Date: 2009-11-26 01:22:40 +0100 (Thu, 26 Nov 2009) New Revision: 1516
Added: cpu/x86/pc/olpc/via/Makefile-565 Log: Checked in makefile for image file format conversion.
Added: cpu/x86/pc/olpc/via/Makefile-565 =================================================================== --- cpu/x86/pc/olpc/via/Makefile-565 (rev 0) +++ cpu/x86/pc/olpc/via/Makefile-565 2009-11-26 00:22:40 UTC (rev 1516) @@ -0,0 +1,17 @@ +PNG := $(wildcard *.png) +C565 := $(patsubst %.png,%.565,$(PNG)) + +all: $(C565) + +%.565: %.bmp + forth ../../bmp24rgb565.fth -s "bmp24rgb565 $< $@" + +%.bmp: %.png + convert -background white -layers flatten $< tmp.png + convert -type truecolor tmp.png $@ + rm tmp.png + +clean: + -rm *.565 *.log tmp.png + +#.TEMPORARY: tmp.png
openfirmware@openfirmware.info