Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Updated Makefile #23

Merged
merged 1 commit into from

2 participants

@developernotes

Hi,

This pull request updates the Makefile to includes removing old libraries and copying over the new libraries compiled during the build process. Let me know if you have any questions. Thanks!

Nick Parker

@n8fr8 n8fr8 merged commit dc8dc34 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 14 additions and 1 deletion.
  1. +14 −1 Makefile
View
15 Makefile
@@ -1,11 +1,12 @@
.DEFAULT_GOAL := all
+LIBRARY_ROOT := libs
init:
git submodule update --init
android update project -p .
-all: build-external build-jni build-java
+all: clean build-external build-jni build-java copy-libs
build-external:
cd external/ && \
@@ -20,3 +21,15 @@ build-java:
ant compile && \
cd bin/classes && \
jar -cvf sqlcipher.jar .
+
+clean:
+ rm ${LIBRARY_ROOT}/armeabi/libsqlcipher_android.so && \
+ rm ${LIBRARY_ROOT}/armeabi/libdatabase_sqlcipher.so && \
+ rm ${LIBRARY_ROOT}/sqlcipher.jar
+
+copy-libs:
+ cp external/libs/armeabi/libsqlcipher_android.so \
+ ${LIBRARY_ROOT}/armeabi && \
+ cp jni/libs/armeabi/libdatabase_sqlcipher.so \
+ ${LIBRARY_ROOT}/armeabi && \
+ cp bin/classes/sqlcipher.jar ${LIBRARY_ROOT}
Something went wrong with that request. Please try again.