summaryrefslogtreecommitdiffstats
path: root/tools/arch/x86/intel_sdsi/Makefile
blob: 5de2288cda79e8d165f88619c8b359ebdb808da8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# SPDX-License-Identifier: GPL-2.0
# Makefile for Intel Software Defined Silicon provisioning tool

intel_sdsi: intel_sdsi.c

CFLAGS = -Wextra

BINDIR ?= /usr/sbin

override CFLAGS += -O2 -Wall

%: %.c
	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)

.PHONY : clean
clean :
	@rm -f intel_sdsi

install : intel_sdsi
	install -d  $(DESTDIR)$(BINDIR)
	install -m 755 -p intel_sdsi $(DESTDIR)$(BINDIR)/intel_sdsi