blob: 520e90398f256d26e6e083862dc92d736149dc98 [file] [log] [blame]
# Copyright (c) 2008-2009 Atheros Corporation. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation;
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
CC := arm-none-linux-gnueabi-gcc
CFLAGS=-I../../../bluez/bluez/lib/ -mtune=arm1136j-s -march=armv6
LDFLAGS=-lbluetooth -L../../../bluez/dist/usr/lib -L../../../../a5s_linux_sdk/ambarella/prebuild/third-party/ncurses/lib/
all: btconfig
btconfig: btconfig.c
$(CC) -Wall -g btconfig.c $(CFLAGS) $(LDFLAGS) -o btconfig
clean:
rm btconfig