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

dell-uart-backlight-emulator: dell-uart-backlight-emulator.c

BINDIR ?= /usr/bin

override CFLAGS += -O2 -Wall

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

.PHONY : clean
clean :
	@rm -f dell-uart-backlight-emulator

install : dell-uart-backlight-emulator
	install -d $(DESTDIR)$(BINDIR)
	install -m 755 -p dell-uart-backlight-emulator $(DESTDIR)$(BINDIR)/dell-uart-backlight-emulator