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