summaryrefslogtreecommitdiffstats
path: root/android-utils/makefile
diff options
context:
space:
mode:
authorMamadou DIOP <bossiel@yahoo.fr>2015-08-17 01:56:35 +0200
committerMamadou DIOP <bossiel@yahoo.fr>2015-08-17 01:56:35 +0200
commit631fffee8a28b1bec5ed1f1d26a20e0135967f99 (patch)
tree74afe3bf3efe15aa82bcd0272b2b0f4d48c2d837 /android-utils/makefile
parent7908865936604036e6f200f1b5e069f8752f3a3a (diff)
downloaddoubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.zip
doubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.tar.gz
-
Diffstat (limited to 'android-utils/makefile')
-rw-r--r--android-utils/makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/android-utils/makefile b/android-utils/makefile
new file mode 100644
index 0000000..4f1f360
--- /dev/null
+++ b/android-utils/makefile
@@ -0,0 +1,20 @@
+include ../android-projects/root.mk
+
+ifeq ($(BT), shared)
+all:
+ ($(MAKE) -f droid-makefile all; \
+ $(STRIP) --strip-all --remove-section=.comment --remove-section=.note ./lib$(PROJECT)_$(MARCH).$(EXT); \
+ cp -f ./lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR); \
+ )
+else
+all:
+ ($(MAKE) -f droid-makefile all; cp -f lib$(PROJECT)_$(MARCH).$(EXT) $(OUTPUT_DIR))
+endif
+
+clean:
+ ($(MAKE) -f droid-makefile clean)
+
+
+gdbserver:
+ $(ANDROID_SDK_ROOT)/tools/adb forward tcp:1234: tcp:1234
+ $(ANDROID_SDK_ROOT)/tools/adb shell $(EXEC_DIR)/gdbserver :1234 $(EXEC_DIR)/test \ No newline at end of file
OpenPOWER on IntegriCloud