1 # SPDX-License-Identifier: GPL-2.0
2 # Makefile for USB tools
4 PTHREAD_LIBS
= -lpthread
5 WARNINGS
= -Wall
-Wextra
6 CFLAGS
= $(WARNINGS
) -g
-I..
/include
7 LDFLAGS
= $(PTHREAD_LIBS
)
11 $(CC
) $(CFLAGS
) -o
$@
$^
$(LDFLAGS
)
14 $(RM
) testusb ffs-test