22 lines
390 B
Makefile
22 lines
390 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
# Build for Linux (desktop) host
|
|
ifeq ($(HOST_OS),linux)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_SRC_FILES := accessorychat.c usbhost.c
|
|
|
|
LOCAL_MODULE := accessorychat
|
|
|
|
LOCAL_C_INCLUDES += bionic/libc/kernel/common
|
|
LOCAL_STATIC_LIBRARIES := libcutils
|
|
LOCAL_LDLIBS += -lpthread
|
|
LOCAL_CFLAGS := -g -O0
|
|
|
|
include $(BUILD_HOST_EXECUTABLE)
|
|
|
|
endif
|