X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fusb%2FMakefile;h=acf2165c04e64f8b15e844b787de9f59c324b199;hb=7ae383be81781c5e1347f71c3eb0d53ce5188200;hp=d576b3bac3cf9064c591bb8e09a3fb1acddc2b12;hpb=8ecd93ab84ce018e032298f55e1b18ada0362850;p=firefly-linux-kernel-4.4.55.git diff --git a/tools/usb/Makefile b/tools/usb/Makefile index d576b3bac3cf..acf2165c04e6 100644 --- a/tools/usb/Makefile +++ b/tools/usb/Makefile @@ -6,11 +6,7 @@ WARNINGS = -Wall -Wextra CFLAGS = $(WARNINGS) -g -I../include LDFLAGS = $(PTHREAD_LIBS) -all: testusb ffs-test ffs-test-legacy - -ffs-test-legacy: ffs-test.c - $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) -DUSE_LEGACY_DESC_HEAD - +all: testusb ffs-test %: %.c $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)