xref: /linux/tools/usb/Makefile (revision 26b0d14106954ae46d2f4f7eec3481828a210f7d)
1# Makefile for USB tools
2
3CC = $(CROSS_COMPILE)gcc
4PTHREAD_LIBS = -lpthread
5WARNINGS = -Wall -Wextra
6CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) -I../include
7
8all: testusb ffs-test
9%: %.c
10	$(CC) $(CFLAGS) -o $@ $^
11
12clean:
13	$(RM) testusb ffs-test
14