diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-06 05:58:40 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-09-06 05:58:40 +0000 |
commit | 0486f12e3eab71e75273b774bb13eeb5937c544d (patch) | |
tree | d1d5db9c50805e92aa8c55958e2c833ca500bc65 /LUFA/makefile | |
parent | f6700c0ea58f61e4413dfe416a526f6e9eb0fb73 (diff) | |
download | lufa-0486f12e3eab71e75273b774bb13eeb5937c544d.tar.gz lufa-0486f12e3eab71e75273b774bb13eeb5937c544d.tar.bz2 lufa-0486f12e3eab71e75273b774bb13eeb5937c544d.zip |
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.
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:
|