
#define FIGDIR ./Fig
#define PSARGS color=n

#include <SEP.defs>

$ names of the figures ( vplot files and postscript files )

#define FIGLIST const-mod adj-mig const-modt tadj-mig ata-mig adj-mig2 tadj-mig2 ata-mig2

#define FIG3NAMES const-mod adj-mig tadj-mig ata-mig 

#define PSFILES [[ sub X FIGDIR/X.ps FIGNAMES ]]
#define VPFILES [[ sub X FIGDIR/X.v FIGNAMES ]]
#define V3FILES [[ sub X FIGDIR/X.v3 FIG3NAMES ]]


v3plots&:  V3FILES

clean&: 
	-RM_CMD *.log 
        -RM_CMD *.aux 
	pushd Src; cake clean; popd
	pushd Data; cake clean; popd
	pushd Fig; cake clean; popd
	
FIGDIR/%.v :   if % in FIGLIST and not {{ pushd FIGDIR; cake -q %.v }}
	pushd FIGDIR; cake %.v

FIGDIR/%.v3 :   if % in FIG3NAMES and not {{ pushd FIGDIR; cake -q %.v3 }}
	pushd FIGDIR; cake %.v3

#include <SEP.idoc.rules>

