blob: 01d758d73b6db1b442d85387871442cdf9c39017 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001# SPDX-License-Identifier: GPL-2.0
2# Makefile for USB tools
3
4PTHREAD_LIBS = -lpthread
5WARNINGS = -Wall -Wextra
6CFLAGS = $(WARNINGS) -g -I../include
7LDFLAGS = $(PTHREAD_LIBS)
8
9all: testusb ffs-test
10%: %.c
11 $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
12
13clean:
14 $(RM) testusb ffs-test