From: Dean Camera Date: Tue, 12 Mar 2013 16:53:16 +0000 (+0000) Subject: Fix "grep: Version.h: No such file or directory" error when including the core LUFA... X-Git-Tag: LUFA-130901-BETA~216 X-Git-Url: http://git.linex4red.de/pub/lufa.git/commitdiff_plain/9e8bf8c0cfba6613d10a90b0ce76bdbbc9a72c8b Fix "grep: Version.h: No such file or directory" error when including the core LUFA library makefile in a legacy makefile. --- diff --git a/LUFA/makefile b/LUFA/makefile index 5461111ae..edb602f88 100644 --- a/LUFA/makefile +++ b/LUFA/makefile @@ -9,7 +9,7 @@ # Makefile for the LUFA library itself. # --------------------------------------- -LUFA_VERSION_NUM := $(shell grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2) +LUFA_VERSION_NUM = $(shell grep $(LUFA_PATH)/LUFA_VERSION_STRING Version.h | cut -d'"' -f2) EXCLUDE_FROM_EXPORT := Documentation DoxygenPages CodeTemplates Build StudioIntegration *.conf *.tar *.o *.d *.lss *.lst *.hex *.elf *.hex *.eep *.map *.bin # Default target - no default action when attempting to build the core directly