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