File: Makefile

package info (click to toggle)
gfxboot 4.5.103-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,212 kB
  • sloc: asm: 12,810; perl: 5,188; ansic: 4,018; pascal: 2,266; makefile: 569; xml: 256; sh: 235
file content (23 lines) | stat: -rw-r--r-- 477 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
BINDIR   := $(shell [ -x ../../gfxboot-compile ] && echo ../../ )
MKBOOTMSG = $(BINDIR)gfxboot-compile
BFLAGS    = -O -v -L ../..

.PHONY: all themes clean distclean

all: bootlogo

bootlogo: test7
	@cp test7 bootlogo

test7: test7.gb
	@rm -rf $@.dir
	@mkdir $@.dir
	$(MKBOOTMSG) $(BFLAGS) -l $@.log -c $< $@.dir/init
	cp -r data/* $@.dir
	@sh -c 'cd $@.dir; echo * | sed -e "s/ /\n/g" | cpio --quiet -o >../$@'

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

distclean: clean