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 | ||||
6 | CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) | ||||
7 | |||||
8 | all: testusb ffs-test | ||||
9 | %: %.c | ||||
10 | $(CC) $(CFLAGS) -o $@ $^ | ||||
11 | |||||
12 | clean: | ||||
13 | $(RM) testusb ffs-test |