• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for Intel Software Defined Silicon provisioning tool
3
4intel_sdsi: intel_sdsi.c
5
6CFLAGS = -Wextra
7
8BINDIR ?= /usr/sbin
9
10override CFLAGS += -O2 -Wall
11
12%: %.c
13	$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
14
15.PHONY : clean
16clean :
17	@rm -f intel_sdsi
18
19install : intel_sdsi
20	install -d  $(DESTDIR)$(BINDIR)
21	install -m 755 -p intel_sdsi $(DESTDIR)$(BINDIR)/intel_sdsi
22