diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-09-06 05:58:40 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2009-09-06 05:58:40 +0000 |
| commit | 3161ba9bd3cdcecd1a305197d8bc057d5a2ad571 (patch) | |
| tree | d1d5db9c50805e92aa8c55958e2c833ca500bc65 /LUFA/makefile | |
| parent | 243c8b2d657dc2b5b1d5edd912341c14ca43505f (diff) | |
Add in new invalid event hook check targets to project makefiles to produce compilation errors when invalid event names are used in a project.
Re-add in flip, flip-ee, dfu and dfu-ee targets to project makefiles (thanks to Opendous Inc.)
Fix allowable F_CPU values comment in project makefiles.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@812 d5102386-fcda-11dd-9fdb-3debd5008f28
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 64d0edef..147aaaac 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:
|
