Davidlohr Bueso | 4f22ce7 | 2011-02-06 14:13:37 -0300 | [diff] [blame] | 1 | # Makefile for USB tools |
2 | |||||
3 | CC = $(CROSS_COMPILE)gcc | ||||
4 | PTHREAD_LIBS = -lpthread | ||||
5 | WARNINGS = -Wall -Wextra | ||||
Matt Fleming | 24fa9a9 | 2012-02-28 13:37:25 +0000 | [diff] [blame] | 6 | CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) -I../include |
Davidlohr Bueso | 4f22ce7 | 2011-02-06 14:13:37 -0300 | [diff] [blame] | 7 | |
8 | all: testusb ffs-test | ||||
9 | %: %.c | ||||
10 | $(CC) $(CFLAGS) -o $@ $^ | ||||
11 | |||||
12 | clean: | ||||
13 | $(RM) testusb ffs-test |