summaryrefslogtreecommitdiff
path: root/util/cbfstool/Makefile
blob: 64db0b3164fde17f16555b57989b06410e72d19e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
top ?= $(abspath ../..)
objutil ?= $(top)/util

CONFIG_FMD_GENPARSER := y

HOSTCC ?= $(CC)

.PHONY: all
all: $(objutil)/cbfstool/cbfstool \
	$(objutil)/cbfstool/fmaptool \
	$(objutil)/cbfstool/rmodtool \

.PHONY: clean
clean:
	$(RM) fmd_parser.c fmd_parser.h fmd_scanner.c fmd_scanner.h
	$(RM) $(objutil)/cbfstool/cbfstool $(cbfsobj)
	$(RM) $(objutil)/cbfstool/fmaptool $(fmapobj)
	$(RM) $(objutil)/cbfstool/rmodtool $(rmodobj)

include Makefile.inc