xref: /kernel/linux/linux-6.6/tools/usb/ffs-aio-example/multibuff/host_app/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/tools/usb/ffs-aio-example/multibuff/host_app/
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ciCC = gcc
362306a36Sopenharmony_ciLIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
462306a36Sopenharmony_ciLIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
562306a36Sopenharmony_ciWARNINGS = -Wall -Wextra
662306a36Sopenharmony_ciCFLAGS = $(LIBUSB_CFLAGS) $(WARNINGS)
762306a36Sopenharmony_ciLDFLAGS = $(LIBUSB_LIBS)
862306a36Sopenharmony_ci
962306a36Sopenharmony_ciall: test
1062306a36Sopenharmony_ci%: %.c
1162306a36Sopenharmony_ci	$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciclean:
1462306a36Sopenharmony_ci	$(RM) test
15

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