From 9e8bf8c0cfba6613d10a90b0ce76bdbbc9a72c8b Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Tue, 12 Mar 2013 16:53:16 +0000 Subject: Fix "grep: Version.h: No such file or directory" error when including the core LUFA library makefile in a legacy makefile. --- LUFA/makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LUFA') 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 -- cgit v1.2.3