COMPONENT=RadioCountToLedsAppC
BUILD_EXTRA_DEPS = RadioCountMsg.py RadioCountMsg.class
+CLEAN_EXTRA = RadioCountMsg.py RadioCountMsg.class RadioCountMsg.java
RadioCountMsg.py: RadioCountToLeds.h
mig python -target=$(PLATFORM) $(CFLAGS) -python-classname=RadioCountMsg RadioCountToLeds.h radio_count_msg -o $@
COMPONENT=TestSerialAppC
BUILD_EXTRA_DEPS += TestSerialMsg.class TestSerial.class
CFLAGS += -DTOSH_DATA_LENGTH=100
+CLEAN_EXTRA = *.class TestSerialMsg.java
%.class: %.java
javac $<
#CFLAGS += -DNOACK_LOW_POWER_LISTENING
BUILD_EXTRA_DEPS = RadioCountMsg.py RadioCountMsg.class
+CLEAN_EXTRA = *.class *.pyc RadioCountMsg.py RadioCountMsg.java
RadioCountMsg.py: RadioCountToLeds.h
mig python -target=$(PLATFORM) $(CFLAGS) -python-classname=RadioCountMsg RadioCountToLeds.h radio_count_msg -o $@
COMPONENT=RssiToSerialC
-
BUILD_EXTRA_DEPS = RssiSerialMsg.java SpecAnalyzer.class
+CLEAN_EXTRA = *.class RssiSerialMsg.java
RssiSerialMsg.java: RssiToSerial.h
mig java -target=$(PLATFORM) $(CFLAGS) -java-classname=RssiSerialMsg RssiToSerial.h rssi_serial_msg -o $@
COMPONENT=TestPacketLinkC
-
CFLAGS += -DPACKET_LINK
-
BUILD_EXTRA_DEPS = PacketLinkMsg.java TestPacketLink.class
+CLEAN_EXTRA = *.class PacketLinkMsg.java
PacketLinkMsg.java: TestPacketLink.h
mig java -target=$(PLATFORM) $(CFLAGS) -java-classname=PacketLinkMsg TestPacketLink.h PacketLinkMsg -o $@
COMPONENT=TxThroughputC
-
-
BUILD_EXTRA_DEPS = ThroughputMsg.py ThroughputMsg.java ThroughputMsg.class
+CLEAN_EXTRA = *.class *.pyc ThroughputMsg.py ThroughputMsg.java
ThroughputMsg.py: TxThroughput.h
mig python -target=$(PLATFORM) $(CFLAGS) -python-classname=ThroughputMsg TxThroughput.h ThroughputMsg -o $@
COMPONENT=RadioCountToFlashAppC
BUILD_EXTRA_DEPS = RadioCountMsg.py RadioCountMsg.class
+CLEAN_EXTRA = *.class RadioCountMsg.py RadioCountMsg.java
RadioCountMsg.py: RadioCountToFlash.h
mig python -target=$(PLATFORM) $(CFLAGS) -python-classname=RadioCountMsg RadioCountToFlash.h RadioCountMsg -o $@