Patrick Georgi | ae570d5 | 2015-09-16 16:34:15 +0200 | [diff] [blame] | 1 | top ?= $(abspath ../..) |
| 2 | objutil ?= $(top)/util |
Patrick Georgi | ae570d5 | 2015-09-16 16:34:15 +0200 | [diff] [blame] | 3 | |
| 4 | CONFIG_FMD_GENPARSER := y |
Peter Stuge | 1d862de | 2009-04-14 00:08:34 +0000 | [diff] [blame] | 5 | |
Alexandru Gagniuc | 4a7b115 | 2014-01-27 17:17:29 -0600 | [diff] [blame] | 6 | HOSTCC ?= $(CC) |
Sol Boucher | 0e53931 | 2015-03-05 15:38:03 -0800 | [diff] [blame] | 7 | |
Sol Boucher | 0e53931 | 2015-03-05 15:38:03 -0800 | [diff] [blame] | 8 | .PHONY: all |
Patrick Georgi | ae570d5 | 2015-09-16 16:34:15 +0200 | [diff] [blame] | 9 | all: $(objutil)/cbfstool/cbfstool \ |
| 10 | $(objutil)/cbfstool/fmaptool \ |
| 11 | $(objutil)/cbfstool/rmodtool \ |
Peter Stuge | 1d862de | 2009-04-14 00:08:34 +0000 | [diff] [blame] | 12 | |
Sol Boucher | 0e53931 | 2015-03-05 15:38:03 -0800 | [diff] [blame] | 13 | .PHONY: clean |
Patrick Georgi | b7b56dd8 | 2009-09-14 13:29:27 +0000 | [diff] [blame] | 14 | clean: |
Nico Huber | 37743a9 | 2015-10-22 13:34:06 +0200 | [diff] [blame] | 15 | $(RM) fmd_parser.c fmd_parser.h fmd_scanner.c fmd_scanner.h |
Patrick Georgi | ae570d5 | 2015-09-16 16:34:15 +0200 | [diff] [blame] | 16 | $(RM) $(objutil)/cbfstool/cbfstool $(cbfsobj) |
| 17 | $(RM) $(objutil)/cbfstool/fmaptool $(fmapobj) |
| 18 | $(RM) $(objutil)/cbfstool/rmodtool $(rmodobj) |
Peter Stuge | 1d862de | 2009-04-14 00:08:34 +0000 | [diff] [blame] | 19 | |
Patrick Georgi | ae570d5 | 2015-09-16 16:34:15 +0200 | [diff] [blame] | 20 | include Makefile.inc |