summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..5756432
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,20 @@
+ifneq ($(TARGET_SIMULATOR),true)
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES:=\
+ netcat.c
+
+LOCAL_CFLAGS:=-O2 -g
+#LOCAL_CFLAGS+=-DLINUX
+
+LOCAL_MODULE_TAGS:=tests eng
+
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+
+LOCAL_MODULE:=nc
+
+include $(BUILD_EXECUTABLE)
+
+endif # TARGET_SIMULATOR != true