diff --git a/LUFA/makefile b/LUFA/makefile
index 147aaaacf1c90d0920b3563ea4f91018d9910f95..4e9b8ca199c48334d05e71d5bea4cd2eb818d618 100644
--- a/LUFA/makefile
+++ b/LUFA/makefile
@@ -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