Make sure the main library core makefile does not interfere with the Doxygen module configuration if included in a legacy makefile.

pull/1469/head
Dean Camera 13 years ago
parent fae71b5780
commit 49424ce6b1

@ -12,8 +12,6 @@
LUFA_VERSION_NUM := $(shell grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2) LUFA_VERSION_NUM := $(shell grep LUFA_VERSION_STRING Version.h | cut -d'"' -f2)
EXCLUDE_FROM_EXPORT := Documentation DoxygenPages CodeTemplates Build *.conf *.tar *.o *.lss *.lst *.hex *.elf *.hex *.eep *.map *.bin *.d EXCLUDE_FROM_EXPORT := Documentation DoxygenPages CodeTemplates Build *.conf *.tar *.o *.lss *.lst *.hex *.elf *.hex *.eep *.map *.bin *.d
DOXYGEN_OVERRIDE_PARAMS = PROJECT_NUMBER=$(LUFA_VERSION_NUM)
all: all:
export_tar: export_tar:
@ -30,11 +28,9 @@ ifneq ($(LUFA_PATH),)
LUFA_ROOT_PATH = $(LUFA_PATH)/LUFA/ LUFA_ROOT_PATH = $(LUFA_PATH)/LUFA/
include $(LUFA_PATH)/LUFA/Build/lufa.sources.in include $(LUFA_PATH)/LUFA/Build/lufa.sources.in
else else
LUFA_BUILD_MODULES += LIBCORE LUFA_PATH = .
LUFA_BUILD_TARGETS += export_tar version ARCH = {AVR8,UC3,XMEGA}
DOXYGEN_OVERRIDE_PARAMS = QUIET=YES PROJECT_NUMBER=$(LUFA_VERSION_NUM)
LUFA_PATH = .
ARCH = {AVR8,UC3,XMEGA}
clean: clean:
rm -f $(LUFA_SRC_ALL_FILES:%.c=%.o) rm -f $(LUFA_SRC_ALL_FILES:%.c=%.o)

Loading…
Cancel
Save