blob: 396d6c44e9d738d8cf85a0ce20317b001c573212 [file] [log] [blame]
Davidlohr Bueso4f22ce72011-02-06 14:13:37 -03001# Makefile for USB tools
2
3CC = $(CROSS_COMPILE)gcc
4PTHREAD_LIBS = -lpthread
5WARNINGS = -Wall -Wextra
Matt Fleming24fa9a92012-02-28 13:37:25 +00006CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) -I../include
Davidlohr Bueso4f22ce72011-02-06 14:13:37 -03007
8all: testusb ffs-test
9%: %.c
10 $(CC) $(CFLAGS) -o $@ $^
11
12clean:
13 $(RM) testusb ffs-test