24fa9a9d6d
Use the header file in tools/include instead of duplicating the endian functions. Cc: Davidlohr Bueso <dave@gnu.org> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Matt Fleming <matt.fleming@intel.com> Link: http://lkml.kernel.org/r/1330436245-24875-7-git-send-email-matt@console-pimps.org Signed-off-by: H. Peter Anvin <hpa@zytor.com>
13 lines
242 B
Makefile
13 lines
242 B
Makefile
# Makefile for USB tools
|
|
|
|
CC = $(CROSS_COMPILE)gcc
|
|
PTHREAD_LIBS = -lpthread
|
|
WARNINGS = -Wall -Wextra
|
|
CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) -I../include
|
|
|
|
all: testusb ffs-test
|
|
%: %.c
|
|
$(CC) $(CFLAGS) -o $@ $^
|
|
|
|
clean:
|
|
$(RM) testusb ffs-test
|