xref: /kernel/linux/linux-5.10/tools/wmi/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-5.10/tools/wmi/
18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ciPREFIX ?= /usr
38c2ecf20Sopenharmony_ciSBINDIR ?= sbin
48c2ecf20Sopenharmony_ciINSTALL ?= install
58c2ecf20Sopenharmony_ciCFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciTARGET = dell-smbios-example
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ciall: $(TARGET)
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci%: %.c
128c2ecf20Sopenharmony_ci	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciclean:
158c2ecf20Sopenharmony_ci	$(RM) $(TARGET)
168c2ecf20Sopenharmony_ci
178c2ecf20Sopenharmony_ciinstall: dell-smbios-example
188c2ecf20Sopenharmony_ci	$(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)
19

Indexes created Thu Nov 07 10:32:03 CST 2024