]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - tools/wmi/Makefile
Merge branch 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-jammy-kernel.git] / tools / wmi / Makefile
1 PREFIX ?= /usr
2 SBINDIR ?= sbin
3 INSTALL ?= install
4 CFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
5
6 TARGET = dell-smbios-example
7
8 all: $(TARGET)
9
10 %: %.c
11 $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
12
13 clean:
14 $(RM) $(TARGET)
15
16 install: dell-smbios-example
17 $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)