-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
59 lines (40 loc) · 1.68 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
all: RSSI_graphApp.class
clean:
rm -f $@
rm -f *.class
rm -f *Msg.java
echo "Clean done"
RssiMsg.class: RssiMsg.java
javac $<
PingMsg.class: PingMsg.java
javac $<
MultiPingMsg.class: MultiPingMsg.java
javac $<
MultiPingResponseMsg.class: MultiPingResponseMsg.java
javac $<
MultiPingResponseReportMsg.class: MultiPingResponseReportMsg.java
javac $<
MultiPingResponseTinyReportMsg.class: MultiPingResponseTinyReportMsg.java
javac $<
CommandMsg.class: CommandMsg.java
javac $<
RSSI_graphApp.class: RssiMsg.java PingMsg.java MultiPingMsg.java \
MultiPingResponseMsg.java MultiPingResponseReportMsg.java \
MultiPingResponseTinyReportMsg.java \
CommandMsg.java
javac $^
RssiMsg.java: nesC/RssiDemoMessages.h
mig java -target=null -java-classname=RssiMsg $< RssiMsg -o $@
PingMsg.java: nesC/RssiDemoMessages.h
mig java -target=null -java-classname=PingMsg $< PingMsg -o $@
MultiPingMsg.java: nesC/RssiDemoMessages.h
mig java -target=null -java-classname=MultiPingMsg $< MultiPingMsg -o $@
MultiPingResponseMsg.java: nesC/RssiDemoMessages.h
mig java -target=null -java-classname=MultiPingResponseMsg $< MultiPingResponseMsg -o $@
MultiPingResponseReportMsg.java: nesC/RssiDemoMessages.h
mig java -target=null -java-classname=MultiPingResponseReportMsg $< MultiPingResponseReportMsg -o $@
MultiPingResponseTinyReportMsg.java: nesC/RssiDemoMessages.h
mig java -target=null -java-classname=MultiPingResponseTinyReportMsg $< MultiPingResponseTinyReportMsg -o $@
CommandMsg.java: nesC/RssiDemoMessages.h
mig java -target=null -java-classname=CommandMsg $< CommandMsg -o $@
#mig java -I $APPDIR -target=mica2 -java-classname=net.tinyos.ident.IdentMsg $APPDIR/App.nc IdentMsg -o IdentMsg.java