Use the make variable so that the correct make gets used.
diff --git a/Makefile b/Makefile
index 2925fbb..4ad5ad3 100644
--- a/Makefile
+++ b/Makefile
@@ -2,17 +2,17 @@
export NDK_PROJECT_PATH
all:
- make -C rmidevice all
- make -C rmi4update all
- make -C rmihidtool all
+ $(MAKE) -C rmidevice all
+ $(MAKE) -C rmi4update all
+ $(MAKE) -C rmihidtool all
clean:
- make -C rmidevice clean
- make -C rmi4update clean
- make -C rmihidtool clean
+ $(MAKE) -C rmidevice clean
+ $(MAKE) -C rmi4update clean
+ $(MAKE) -C rmihidtool clean
android:
ndk-build NDK_APPLICATION_MK=Application.mk
android-clean:
- ndk-build NDK_APPLICATION_MK=Application.mk clean
\ No newline at end of file
+ ndk-build NDK_APPLICATION_MK=Application.mk clean