#include "debug.h" #include "init.h" #include "globals.h" int main(int argc, char** argv) { if(argc!=2) return 1; int ret; DepTree* DPTree; SetDebugLevel(INFO); COUT(INFO)<<"Parse config file "< used, all; for(auto& i:G_vars) all.insert(i.first); unsigned int tot=G_vars.size(); DPTree=new DepTree; COUT(INFO)<<"Building dependency tree "; ret=BuildDepTree(DPTree,used); if(ret!=0) { ClearGlobals(); delete DPTree; return 1;} COUT(INFO)<<"Ok"<