2011-02-07 01:13:37 +08:00
|
|
|
# Makefile for USB tools
|
|
|
|
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
|
|
PTHREAD_LIBS = -lpthread
|
|
|
|
WARNINGS = -Wall -Wextra
|
2012-02-28 21:37:25 +08:00
|
|
|
CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) -I../include
|
2011-02-07 01:13:37 +08:00
|
|
|
|
|
|
|
all: testusb ffs-test
|
|
|
|
%: %.c
|
|
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) testusb ffs-test
|