xref: /linux/tools/usb/Makefile (revision cc04a46f11ea046ed53e2c832ae29e4790f7e35f)
1# Makefile for USB tools
2
3CC = $(CROSS_COMPILE)gcc
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
15