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