# Last edited on 2014-09-02 00:03:36 by stolfilocal # Common part of single-test test makefile for {dna_seq_view} and {dna_seq_to_pov} #Separate scale and magnification: SMX := ${subst :, ,${SCALEMAG}} SCALE := ${word 1,${SMX}} MAGNIFY := ${word 2,${SMX}} #Separate sequence names and diff thresholds: SQX := ${subst :, ,${SEQLIST}} SEQA := ${word 1,${SQX}} SEQB := ${word 2,${SQX}} SEQC := ${word 3,${SQX}} INIWT := ${word 4,${SQX}} INCWT := ${word 5,${SQX}} RESTEP := ${word 6,${SQX}} SHOWHIDE := ${word 7,${SQX}} MAXDIFF := ${word 8,${SQX}} ifeq "/${SHOWHIDE}" "/NONE" SHOWHIDE_OPT := else SHOWHIDE_OPT := -${SHOWHIDE}Match ${MAXDIFF} endif # Adjust ${MAXDIFF} for consistency with ${MAGNIFY} MAXDIFF := ${shell echo "${MAXDIFF}/${MAGNIFY}" | bc -lq} # Names of sequences without "NONE": SEQS := ${filter-out NONE,${SEQA} ${SEQB} ${SEQC}} # Full file names of the sequences: SEQ_FILES := ${patsubst %,${INDIR}/%-${INIWT}-${INCWT}-${SCALE}.eqs,${SEQS}} SEQ_OPTIONS := ${shell echo ${SEQ_FILES} | tr ' ' '\012' | gawk '//{ print "-seqFile", $$0, "-texture", n+0; n++}'}