soc/intel/xeon_sp: Drop uncore_fill_ssdt
[coreboot2.git] / util / pmh7tool / Makefile
blob0a2ebbe14720df89892e1d75c1d3e082e00d01dd
1 ## SPDX-License-Identifier: GPL-2.0-only
3 CC = gcc
4 CFLAGS = -O2 -Wall -Wextra -Werror
5 PROGRAM = pmh7tool
6 INSTALL = /usr/bin/env install
7 PREFIX = /usr/local
9 all: $(PROGRAM)
11 $(PROGRAM): pmh7tool.o
12 $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
14 install: $(PROGRAM)
15 $(INSTALL) -d $(DESTDIR)$(PREFIX)/sbin
16 $(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
18 clean:
19 rm -f *.o $(PROGRAM)
21 distclean: clean
23 %.o: %.c
24 $(CC) $(CFLAGS) -c $^ -I. -o $@
26 .PHONY: all install clean distclean