Fix LUFA event list generation rule in the main LUFA makefile (thanks to Thomas Bleeker).

This commit is contained in:
Dean Camera 2009-09-14 06:01:32 +00:00
parent eee712f769
commit eaa914a4e4
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ LUFA_SRC_FILES = ./Drivers/USB/LowLevel/DevChapter9.c \
LUFA_Events.lst:
@echo
@echo Generating LUFA event name list...
@$(shell) cat `find ./ -name "*.h"` | egrep "EVENT_[^\(]*\(" | \
@$(shell) cat `find ./ -name "*.h"` | grep -E "EVENT_[^\(]*\(" | \
sed -n -e 's/^.*EVENT_/EVENT_/p' | \
cut -d'(' -f1 | sort | uniq > LUFA_Events.lst