diff options
Diffstat (limited to 'extra/ftdi_hostcmd/Makefile')
-rw-r--r-- | extra/ftdi_hostcmd/Makefile | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/extra/ftdi_hostcmd/Makefile b/extra/ftdi_hostcmd/Makefile deleted file mode 100644 index d46b4b1c72..0000000000 --- a/extra/ftdi_hostcmd/Makefile +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 2015 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -# Use your own libmpsse if you want, but we're going to use the files -# that are part of the Chromium OS trunks_client program. -PLATFORM2 = ../../../../platform2 -MPSSE_DIR = $(PLATFORM2)/trunks/ftdi - -PROG = test_cmds -SRCS = test_cmds.c $(MPSSE_DIR)/mpsse.c $(MPSSE_DIR)/support.c - -CFLAGS = \ - -std=gnu99 \ - -g3 \ - -O3 \ - -Wall \ - -Werror \ - -Wpointer-arith \ - -Wcast-align \ - -Wcast-qual \ - -Wundef \ - -Wsign-compare \ - -Wredundant-decls \ - -Wmissing-declarations - -CFLAGS += -I../../include -I${MPSSE_DIR} -I${PLATFORM2} - -CFLAGS += $(shell pkg-config --cflags libusb-1.0 libftdi1) -LIBS += $(shell pkg-config --libs libusb-1.0 libftdi1) - -$(PROG): $(SRCS) Makefile - gcc $(CFLAGS) $(SRCS) $(LDFLAGS) $(LIBS) -o $@ - -.PHONY: clean -clean: - rm -rf $(PROG) |