Merge tag 'ntb-5.11' of git://github.com/jonmason/ntb
[linux/fpc-iii.git] / tools / usb / ffs-aio-example / multibuff / host_app / Makefile
blobdf36e4c28f619a5985d0007ceb731f3f3e42907b
1 # SPDX-License-Identifier: GPL-2.0
2 CC = gcc
3 LIBUSB_CFLAGS = $(shell pkg-config --cflags libusb-1.0)
4 LIBUSB_LIBS = $(shell pkg-config --libs libusb-1.0)
5 WARNINGS = -Wall -Wextra
6 CFLAGS = $(LIBUSB_CFLAGS) $(WARNINGS)
7 LDFLAGS = $(LIBUSB_LIBS)
9 all: test
10 %: %.c
11 $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
13 clean:
14 $(RM) test