Revert incorrect XMEGA interrupt disable patch; all flags *except* the interrupt...
[pub/USBasp.git] / LUFA / makefile
index 7fe59a2..4453d18 100644 (file)
@@ -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_VERSION_STRING $(LUFA_PATH)/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
@@ -50,4 +50,4 @@ else
   include Build/lufa_doxygen.mk
 endif
 
-.PHONY: all export_tar version clean
\ No newline at end of file
+.PHONY: all export_tar version clean