summaryrefslogtreecommitdiff
path: root/themes/example_01/Makefile
blob: 746bc4c5459d0fd4174c885546491984bd78c1b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
BINDIR := $(shell [ -x ../../gfxboot-compile ] && echo ../../ )
GFXBOOT_COMPILE = $(BINDIR)gfxboot-compile
GFXBOOT_FONT = $(BINDIR)gfxboot-font
GFXBOOT = $(BINDIR)gfxboot
BFLAGS = -O -v -L ../..

.PHONY: all themes clean distclean

all: bootlogo

bootlogo: example_*.bc
	@rm -rf $@.dir
	@mkdir $@.dir
	$(GFXBOOT_COMPILE) $(BFLAGS) -l $@.log -c $< $@.dir/init
	touch --reference example_01.bc $@.dir/*
	$(GFXBOOT) --archive $@.dir --pack-archive $@

clean:
	rm -rf *~ *.log *.dir bootlogo

distclean: clean