WIP FPC-III support
[linux/fpc-iii.git] / tools / usb / ffs-aio-example / simple / host_app / Makefile
blobc3523837c93688de260f83847b3f5b7ff381ddd1
1 # SPDX-License-Identifier: GPL-2.0-only
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