diff options
Diffstat (limited to 'LUFA/makefile')
-rw-r--r-- | LUFA/makefile | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/LUFA/makefile b/LUFA/makefile index 64d0edef7..147aaaacf 100644 --- a/LUFA/makefile +++ b/LUFA/makefile @@ -33,10 +33,18 @@ LUFA_SRC_FILES = ./Drivers/USB/LowLevel/DevChapter9.c \ ./Drivers/Peripheral/Serial.c \
./Drivers/Peripheral/SerialStream.c \
-all:
-
+LUFA_Events.lst:
+ @echo
+ @echo Generating LUFA event name list...
+ @$(shell) cat `find ./ -name "*.h"` | egrep "EVENT_[^\(]*\(" | \
+ sed -n -e 's/^.*EVENT_/EVENT_/p' | \
+ cut -d'(' -f1 | sort | uniq > LUFA_Events.lst
+
+all: LUFA_Events.lst
+
clean:
rm -f $(LUFA_SRC_FILES:%.c=%.o)
+ rm -f LUFA_Events.lst
clean_list:
|