@ -455,7 +455,7 @@ ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default target.
# Default target.
all : begin gccversion sizebefore build checkinvalidevents showliboptions showtarget sizeafter end
all : begin gccversion sizebefore build showliboptions showtarget sizeafter end
# Change the build target to build a HEX file or a library.
# Change the build target to build a HEX file or a library.
build : elf hex eep lss sym
build : elf hex eep lss sym
@ -498,17 +498,6 @@ sizeafter:
@if test -f $( TARGET) .elf; then echo; echo $( MSG_SIZE_AFTER) ; $( ELFSIZE) ; \
@if test -f $( TARGET) .elf; then echo; echo $( MSG_SIZE_AFTER) ; $( ELFSIZE) ; \
2>/dev/null; echo; fi
2>/dev/null; echo; fi
$(LUFA_PATH)/LUFA/LUFA_Events.lst :
@$( MAKE) -C $( LUFA_PATH) /LUFA/ LUFA_Events.lst
checkinvalidevents : $( LUFA_PATH ) /LUFA /LUFA_Events .lst
@echo
@echo Checking for invalid events...
@$( shell) avr-nm $( OBJ) | sed -n -e 's/^.*EVENT_/EVENT_/p' | \
grep -F -v --file= $( LUFA_PATH) /LUFA/LUFA_Events.lst > InvalidEvents.tmp || true
@sed -n -e 's/^/ WARNING - INVALID EVENT NAME: /p' InvalidEvents.tmp
@if test -s InvalidEvents.tmp; then exit 1; fi
showliboptions :
showliboptions :
@echo
@echo
@echo ---- Compile Time Library Options ----
@echo ---- Compile Time Library Options ----
@ -695,7 +684,7 @@ clean: begin clean_list clean_binary end
clean_binary :
clean_binary :
$( REMOVE) $( TARGET) .hex
$( REMOVE) $( TARGET) .hex
clean_list :
clean_list :
@echo $( MSG_CLEANING)
@echo $( MSG_CLEANING)
$( REMOVE) $( TARGET) .eep
$( REMOVE) $( TARGET) .eep
@ -730,9 +719,8 @@ $(shell mkdir $(OBJDIR) 2>/dev/null)
# Listing of phony targets.
# Listing of phony targets.
.PHONY : all checkinvalidevents showliboptions \
.PHONY : all showliboptions showtarget begin \
s h o w t a r g e t b e g i n f i n i s h e n d s i z e b e f o r e s i z e a f t e r \
f i n i s h e n d s i z e b e f o r e s i z e a f t e r g c c v e r s i o n b u i l d \
g c c v e r s i o n b u i l d e l f h e x e e p l s s s y m c o f f e x t c o f f \
e l f h e x e e p l s s s y m c o f f e x t c o f f p r o g r a m d f u f l i p \
p r o g r a m d f u f l i p f l i p - e e d f u - e e c l e a n d e b u g \
f l i p - e e d f u - e e c l e a n d e b u g c l e a n _ l i s t c l e a n _ b i n a r y \
c l e a n _ l i s t c l e a n _ b i n a r y c l e a n _ d o x y g e n g d b - c o n f i g \
c l e a n _ d o x y g e n g d b - c o n f i g d o x y g e n
d o x y g e n