summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-01-05 11:19:34 +0100
committerTakashi Iwai <tiwai@suse.de>2014-01-05 11:19:34 +0100
commit4b5a5096bb834102b2e821f5f34274f041862d67 (patch)
treefe55f4f11111e34d503a6a01aeb4bfc2eae5e88a /tools
parent19570d747795f0ecff79403698b868dc5ad7fa86 (diff)
parent150116bcfbd9004f01e682535baddaca2b90d3b2 (diff)
Merge branch 'for-linus' into for-next
Diffstat (limited to 'tools')
-rw-r--r--tools/usb/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/usb/Makefile b/tools/usb/Makefile
index 396d6c44e9d..acf2165c04e 100644
--- a/tools/usb/Makefile
+++ b/tools/usb/Makefile
@@ -3,11 +3,12 @@
CC = $(CROSS_COMPILE)gcc
PTHREAD_LIBS = -lpthread
WARNINGS = -Wall -Wextra
-CFLAGS = $(WARNINGS) -g $(PTHREAD_LIBS) -I../include
+CFLAGS = $(WARNINGS) -g -I../include
+LDFLAGS = $(PTHREAD_LIBS)
all: testusb ffs-test
%: %.c
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
clean:
$(RM) testusb ffs-test