Speed up build tests by only building each test to the ELF output stage (when all files are compiled and linked), rather than to the full HEX output stage as the resulting binary is not actually required.

This commit is contained in:
Dean Camera committed 2012-05-07 17:42:49 +00:00
1 parent e5a7fa201e
commit 7a7ee6a908
5 files changed
+29 -30

No files matched your search

+14 -14
View File
@@ -23,23 +23,23 @@ end:
@echo
compile:
$(MAKE) -f makefile.avr8 clean -s
$(MAKE) -f makefile.avr8 LUFA_OPTS='-D USB_DEVICE_ONLY' -s
$(MAKE) -f makefile.avr8 clean -s
$(MAKE) -f makefile.avr8 LUFA_OPTS='-D USB_HOST_ONLY' -s
$(MAKE) -s -f makefile.avr8 clean
$(MAKE) -s -f makefile.avr8 LUFA_OPTS='-D USB_DEVICE_ONLY' elf
$(MAKE) -s -f makefile.avr8 clean
$(MAKE) -s -f makefile.avr8 LUFA_OPTS='-D USB_HOST_ONLY' elf
$(MAKE) -f makefile.xmega clean -s
$(MAKE) -f makefile.xmega LUFA_OPTS='-D USB_DEVICE_ONLY' -s
$(MAKE) -f makefile.uc3 clean -s
$(MAKE) -f makefile.uc3 LUFA_OPTS='-D USB_DEVICE_ONLY' -s
$(MAKE) -f makefile.uc3 clean -s
$(MAKE) -f makefile.uc3 LUFA_OPTS='-D USB_HOST_ONLY' -s
$(MAKE) -s -f makefile.xmega clean
$(MAKE) -s -f makefile.xmega LUFA_OPTS='-D USB_DEVICE_ONLY' elf
$(MAKE) -s -f makefile.uc3 clean
$(MAKE) -s -f makefile.uc3 LUFA_OPTS='-D USB_DEVICE_ONLY' elf
$(MAKE) -s -f makefile.uc3 clean
$(MAKE) -s -f makefile.uc3 LUFA_OPTS='-D USB_HOST_ONLY' elf
clean:
$(MAKE) -f makefile.avr8 clean -s
$(MAKE) -f makefile.xmega clean -s
$(MAKE) -f makefile.uc3 clean -s
$(MAKE) -s -f makefile.avr8 clean
$(MAKE) -s -f makefile.xmega clean
$(MAKE) -s -f makefile.uc3 clean
%: