all: xlisten

# Main xlisten sources
SRCS =  xlisten.c xserial.c xpacket.c

# Add Mote Sensor board support
SRCS += boards/mts300.c boards/mts400.c boards/mts510.c boards/mts101.c

# Add Mote Data Aquisition board support
SRCS += boards/mda500.c boards/mda300.c


xlisten: $(SRCS)
	gcc -O1 -o $@ $(SRCS)
 
clean: 
	rm xlisten.exe

