Merge tag 'block-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / tools / wmi / Makefile
blobe161ff59ec4697a18ad1b3d6212f779fb90bce80
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
7 TARGET = dell-smbios-example
9 all: $(TARGET)
11 %: %.c
12 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
14 clean:
15 $(RM) $(TARGET)
17 install: dell-smbios-example
18 $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)