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