xref: /kernel/linux/linux-6.6/tools/wmi/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/wmi/
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ciPREFIX ?= /usr
362306a36Sopenharmony_ciSBINDIR ?= sbin
462306a36Sopenharmony_ciINSTALL ?= install
562306a36Sopenharmony_ciCFLAGS += -D__EXPORTED_HEADERS__ -I../../include/uapi -I../../include
662306a36Sopenharmony_ci
762306a36Sopenharmony_ciTARGET = dell-smbios-example
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciall: $(TARGET)
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci%: %.c
1262306a36Sopenharmony_ci	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $<
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciclean:
1562306a36Sopenharmony_ci	$(RM) $(TARGET)
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ciinstall: dell-smbios-example
1862306a36Sopenharmony_ci	$(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/$(SBINDIR)/$(TARGET)
19

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