aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/makefile
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-05-18 11:53:53 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-05-18 11:53:53 +0000
commite10f5b4f144f3fd35c5c6c3474e37fd8a1fd682d (patch)
treecf1dfe45097932386f5bc8fd0146ed9e7437f982 /LUFA/makefile
parent064643e06648dcb7e4d03bd2c2029b9186c250b5 (diff)
downloadlufa-e10f5b4f144f3fd35c5c6c3474e37fd8a1fd682d.tar.gz
lufa-e10f5b4f144f3fd35c5c6c3474e37fd8a1fd682d.tar.bz2
lufa-e10f5b4f144f3fd35c5c6c3474e37fd8a1fd682d.zip
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.
Diffstat (limited to 'LUFA/makefile')
-rw-r--r--LUFA/makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/LUFA/makefile b/LUFA/makefile
index 937e3a45d..46dcc0843 100644
--- a/LUFA/makefile
+++ b/LUFA/makefile
@@ -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