acpi: Add IORT helper functions
[coreboot2.git] / util / ifdtool / Makefile
blob72a4dabe5c139e553bf423f2bd9e0b8ca2428668
1 # ifdtool - dump Intel Firmware Descriptor information
3 # SPDX-License-Identifier: GPL-2.0-only
5 CC ?= gcc
6 INSTALL ?= /usr/bin/env install
7 PREFIX ?= /usr/local
9 HOSTCC ?= $(CC)
10 HOSTCFLAGS ?= $(CFLAGS)
11 top := ../..
12 objutil := ..
13 include Makefile.mk
15 PROGRAM=$(objutil)/ifdtool/ifdtool
17 all: $(PROGRAM)
19 clean:
20 rm -f $(PROGRAM) *.o *~ .dependencies
21 distclean: clean
23 install: $(PROGRAM)
24 $(INSTALL) -d $(DESTDIR)$(PREFIX)/bin
25 $(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/bin
27 .PHONY: all clean distclean install