summaryrefslogtreecommitdiffstats
path: root/src/Makefile
blob: 886441a79cab003b62a68ae649d5daf446e9626b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
BINDIR      := $(shell [ -x ../../../gfxboot-compile ] && echo ../../../ )

GFXBOOT_COMPILE = $(BINDIR)gfxboot-compile
BFLAGS       = -O -v -L ../..

all: main.bin

main.bin: main.bc *.inc ../po/.ready
	$(GFXBOOT_COMPILE) $(BFLAGS) -l main.log -c main.bc $@

../po/.ready:
	make -C ../po

clean:
	rm -f main.bin *.log *~