diff options
| author | Keith Packard <keithp@keithp.com> | 2012-02-23 16:37:24 +1300 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2012-06-02 19:39:55 -0700 |
| commit | 9b659904109f992b8a3e61efb94e81cdb19af1c9 (patch) | |
| tree | 56bee0898033e79caac11f6b4d69f8ad4ffa6693 /altosdroid/Makefile.am | |
| parent | a018724e40f2a4c0bae8b3d5c77bb90328ad4314 (diff) | |
Demonstrate using AltosLib from altosdroid
Get things hooked up so that we can use AltosLib functions from the
android application; it's a bit of a hack at present, but appears to
work. Some more 'official' technique would be nice...
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosdroid/Makefile.am')
| -rw-r--r-- | altosdroid/Makefile.am | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/altosdroid/Makefile.am b/altosdroid/Makefile.am index 2c6ffc2c..557a5722 100644 --- a/altosdroid/Makefile.am +++ b/altosdroid/Makefile.am @@ -23,6 +23,12 @@ SRC=\ all: $(all_target) +ALTOSLIB=bin/classes/AltosLib.jar + +$(ALTOSLIB): + mkdir -p bin/classes + cd bin/classes && ln -s ../../../altoslib/AltosLib.jar . + if ANDROID install-release: bin/AltosDroid-release.apk $(ADB) install -r bin/AltosDroid-release.apk @@ -30,10 +36,10 @@ install-release: bin/AltosDroid-release.apk install-debug: bin/AltosDroid-debug.apk $(ADB) install -r bin/AltosDroid-debug.apk -bin/AltosDroid-debug.apk: $(SRC) +bin/AltosDroid-debug.apk: $(SRC) $(ALTOSLIB) ant debug -bin/AltosDroid-release.apk: $(SRC) +bin/AltosDroid-release.apk: $(SRC) $(ALTOSLIB) ant release endif |
