]> asedeno.scripts.mit.edu Git - linux.git/blob - tools/wmi/Makefile
HID: i2c-hid: Send power-on command after reset
[linux.git] / tools / wmi / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 PREFIX ?= /usr
3 SBINDIR ?= sbin
4 INSTALL ?= install
5 CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
6
7 TARGET = dell-smbios-example
8
9 all: $(TARGET)
10
11 %: %.c
12         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
13
14 clean:
15         $(RM) $(TARGET)
16
17 install: dell-smbios-example
18         $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)