summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index e614fbb..e600500 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
bin
gen
+classes
diff --git a/Makefile b/Makefile
index f8f86ef..ae46d67 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-SDK=../android-sdk-linux
+SDK=$(shell sed -ne 's/sdk.dir=//p' local.properties)
DX=$(SDK)/platform-tools/dx
ADB=$(SDK)/platform-tools/adb
@@ -28,4 +28,4 @@ bin/AltosDroid-release.apk: $(SRC)
ant release
clean:
- ant clean \ No newline at end of file
+ ant clean