]> oss.titaniummirror.com Git - tinyos-2.x.git/blob - apps/Oscilloscope/java/Makefile
stm25p: fix seek error
[tinyos-2.x.git] / apps / Oscilloscope / java / Makefile
1 GEN=OscilloscopeMsg.java Constants.java
2
3 all: oscilloscope.jar
4
5 oscilloscope.jar: Oscilloscope.class
6 jar cf $@ *.class
7
8 OscilloscopeMsg.java: ../Oscilloscope.h
9 mig -target=null -java-classname=OscilloscopeMsg java ../Oscilloscope.h oscilloscope -o $@
10
11 Constants.java: ../Oscilloscope.h
12 ncg -target=null -java-classname=Constants java ../Oscilloscope.h NREADINGS DEFAULT_INTERVAL -o $@
13
14 Oscilloscope.class: $(wildcard *.java) $(GEN)
15 javac *.java
16
17 clean:
18 rm -f *.class $(GEN)
19
20 veryclean: clean
21 rm oscilloscope.jar