projects
/
cc0
/
argeo-build.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make uninstall more robust
[cc0/argeo-build.git]
/
jni.mk
diff --git
a/jni.mk
b/jni.mk
index 98ad5c8b9c4c2631975d5acd1e654f09367cf78c..920ecf478048694dc4ba18b91c23a1575d7c5f55 100644
(file)
--- a/
jni.mk
+++ b/
jni.mk
@@
-40,6
+40,7
@@
install:
uninstall:
$(RM) $(A2_NATIVE_INSTALL_TARGET)/$(TARGET_EXEC)
uninstall:
$(RM) $(A2_NATIVE_INSTALL_TARGET)/$(TARGET_EXEC)
+ @if [ -d $(A2_NATIVE_INSTALL_TARGET) ]; then find $(A2_NATIVE_INSTALL_TARGET) -empty -type d -delete; fi
# Sources
SRCS := $(shell find $(SRC_DIRS) -name '*.cpp' -or -name '*.c' -or -name '*.s')
# Sources
SRCS := $(shell find $(SRC_DIRS) -name '*.cpp' -or -name '*.c' -or -name '*.s')