summaryrefslogtreecommitdiff
path: root/scripts/newbitmaps/default_source/Makefile
blob: 9548654d86a366ab24696186deb8dc8c376296d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

OUTPUT=bmpblock.bin

all:
	for X in *.png; do \
		python -c "import Image; \
		Image.open('$$X').convert('P').save('$${X/png/bmp}')"; \
	done
	bmpblk_utility -c config.yaml $(OUTPUT)

clean:
	rm -rf $(OUTPUT) *.bmp

.PHONY: all clean