1 # Makefile for USB tools
3 CC
= $(CROSS_COMPILE
)gcc
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