################################################################################ ## ## Copyright (c) 2007-2011 Illumina, Inc. ## ## This software is covered by the "Illumina Genome Analyzer Software ## License Agreement" and the "Illumina Source Code License Agreement", ## and certain third party copyright/licenses, and any user of this ## source file is bound by the terms therein (see accompanying files ## Illumina_Genome_Analyzer_Software_License_Agreement.pdf and ## Illumina_Source_Code_License_Agreement.pdf and third party ## copyright/license notices). ## ## This file is part of the Consensus Assessment of Sequence And VAriation ## (CASAVA) software package. ## ## file AnalyseLanes.mk ## ## brief Partial makefile to navigate the hierarchy of projects and samples. ## ## author Come Raczy ## ################################################################################ ifeq (,$(currentLanes)) $(error ERROR: project $(project): sample $(sample): empty list of lanes) endif lane := $(word 1, $(currentLanes)) ifeq (1,$(words $(currentLanes))) currentLanes := else currentLanes := $(wordlist 2, $(words $(currentLanes)), $(currentLanes)) endif currentBarcodes := $($(project)_$(sample)_$(lane)_BARCODES) include $(foreach barcode, $(currentBarcodes), $(MAKEFILES_DIR)/AnalyseBarcodes.mk)