Project

General

Profile

Revision 1631

fixed not compiling libwireless

View differences:

branches/init_refactor/code/Makefile
406 406
	@echo $(MSG_LIBRARY_BUILD)
407 407
	make clean -C $(COLONYROOT)/code/projects/libdragonfly
408 408
	make dist -C $(COLONYROOT)/code/projects/libdragonfly
409
ifdef USE_WIRELESS
409 410
	make clean -C $(COLONYROOT)/code/projects/libwireless/lib
410 411
	make dist -C $(COLONYROOT)/code/projects/libwireless/lib
412
endif
411 413

  
412 414
# Check if library needs to be built
413 415
lib:
414 416
	@echo $(MSG_LIBRARY_CHECK)
415 417
	make dist -C $(COLONYROOT)/code/projects/libdragonfly
418
ifdef USE_WIRELESS
416 419
	make dist -C $(COLONYROOT)/code/projects/libwireless/lib
420
endif
417 421

  
418

  
419 422
# Program the device.
420 423
program: $(TARGET).hex $(TARGET).eep
421 424
	$(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)

Also available in: Unified diff