Add new "version" makefile target to the main LUFA library makefile, to give an easy way to identify a LUFA release from the command-line.

This commit is contained in:
Dean Camera 2011-05-18 11:53:53 +00:00
parent 064643e066
commit e10f5b4f14
2 changed files with 5 additions and 3 deletions

View file

@ -80,6 +80,9 @@ ifeq ($(origin LUFA_PATH), undefined)
clean_doxygen:
rm -rf Documentation
version:
@echo "LUFA `grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2`"
.PHONY: all clean clean_list doxygen clean_doxygen
.PHONY: all clean clean_list doxygen clean_doxygen version
endif