diff options
| author | Keith Packard <keithp@keithp.com> | 2010-04-02 13:37:52 -0700 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-04-02 13:37:52 -0700 |
| commit | 02f2be90879b682b6e648cf2debc83223d127b9d (patch) | |
| tree | 568ca354baef3c04736815988e8329ab7401bec2 /ao-tools/altosui/Makefile | |
| parent | 6454e309858aeef7912e862de8632618d89b4205 (diff) | |
Add telem parsing code
Diffstat (limited to 'ao-tools/altosui/Makefile')
| -rw-r--r-- | ao-tools/altosui/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/ao-tools/altosui/Makefile b/ao-tools/altosui/Makefile index cb422df8..090911ef 100644 --- a/ao-tools/altosui/Makefile +++ b/ao-tools/altosui/Makefile @@ -1,13 +1,18 @@ .SUFFIXES: .java .class -CLASSPATH=.. -CLASSFILES=AltosSerialMonitor.class AltosSerial.class AltosUI.class +CLASSPATH=..:/usr/share/java/* +CLASSFILES=AltosSerialMonitor.class AltosSerial.class AltosTelemetry.class AltosUI.class JAVAFLAGS=-Xlint:unchecked -all: $(CLASSFILES) +all: $(CLASSFILES) altosui .java.class: - javac -cp $(CLASSPATH) $(JAVAFLAGS) $*.java + javac -cp "$(CLASSPATH)" $(JAVAFLAGS) $*.java + +altosui: Makefile + (echo '#!/bin/sh'; \ + echo exec java -cp '"$(CLASSPATH)"' altosui/AltosUI) > $@ + chmod +x $@ clean: rm -f *.class
\ No newline at end of file |
