diff options
-rw-r--r-- | contrib/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/Makefile b/contrib/Makefile index 28bebc7..858cc90 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -22,11 +22,12 @@ ##
LUFA_VERSION := 120219
-all: download
-download: LUFA-${LUFA_VERSION}.zip
+all: download-lufa
+
+download-lufa: LUFA-${LUFA_VERSION}.zip
LUFA-${LUFA_VERSION}.zip:
- wget "http://lufa-lib.googlecode.com/files/LUFA-${LUFA_VERSION}.zip" -O "LUFA-${LUFA_VERSION}.zip"
- unzip LUFA-${LUFA_VERSION}.zip
+ wget "http://lufa-lib.googlecode.com/files/$@" -O "$@"
+ unzip $@
|