Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753385Ab1BFRNt (ORCPT ); Sun, 6 Feb 2011 12:13:49 -0500 Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81]:33920 "EHLO homiemail-a10.g.dreamhost.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753353Ab1BFRNp (ORCPT ); Sun, 6 Feb 2011 12:13:45 -0500 Subject: [PATCH v2 2/2] USB: tools: Add a Makefile From: Davidlohr Bueso To: Michal Nazarewicz , David Brownell , Greg Kroah-Hartman Cc: LKML , linux-usb@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Date: Sun, 06 Feb 2011 14:13:37 -0300 Message-ID: <1297012417.2039.9.camel@offworld> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 903 Lines: 44 From: Davidlohr Bueso Build USB tools easier. Signed-off-by: Davidlohr Bueso --- tools/usb/Makefile | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 tools/usb/Makefile diff --git a/tools/usb/Makefile b/tools/usb/Makefile new file mode 100644 index 0000000..8b704af --- /dev/null +++ b/tools/usb/Makefile @@ -0,0 +1,13 @@ +# Makefile for USB tools + +CC = $(CROSS_COMPILE)gcc +PTHREAD_LIBS = -lpthread +WARNINGS = -Wall -Wextra +CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) + +all: testusb ffs-test +%: %.c + $(CC) $(CFLAGS) -o $@ $^ + +clean: + $(RM) testusb ffs-test -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/