include ../Mgr/Makefile.h
 
all: $(LIB)libSamba.a
clean:
	rm -f $(OBJ)ana2fast.o $(OBJ)anagen.o $(OBJ)bruit.o $(OBJ)circle.o $(OBJ)gorfph.o $(OBJ)lambuilder.o $(OBJ)localmap.o $(OBJ)longlat.o $(OBJ)mlobe.o $(OBJ)sambainit.o $(OBJ)scan.o $(OBJ)spheregorski.o $(OBJ)spherepos.o $(OBJ)spherethetaphi.o $(OBJ)syn2fast.o $(OBJ)syngen.o $(OBJ)unitvector.o $(OBJ)utilgeom.o $(OBJ)vector3d.o
	rm -f $(LIB)libSamba.a
$(LIB)libSamba.a : $(OBJ)bruit.o $(OBJ)circle.o $(OBJ)gorfph.o $(OBJ)localmap.o $(OBJ)longlat.o $(OBJ)mlobe.o $(OBJ)sambainit.o $(OBJ)scan.o $(OBJ)spheregorski.o $(OBJ)spherepos.o $(OBJ)spherethetaphi.o $(OBJ)unitvector.o $(OBJ)utilgeom.o $(OBJ)vector3d.o
	$(ARCXX) $(ARCXXFLAGS) $@ $?
ifeq ($(CXX),cxx)
	$(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lSamba -lNTools -lSysTools -o $(OBJ)xx.x -Hf
endif 
 
$(OBJ)bruit.o: bruit.cc $(INC)fmath.h bruit.h \
 $(INC)nbrandom.h \
 $(INC)machdefs.h \
 $(INC)pclassids.h
$(OBJ)circle.o: circle.cc circle.h vector3d.h longlat.h utilgeom.h \
 unitvector.h geometry.h
$(OBJ)gorfph.o: gorfph.cc
$(OBJ)localmap.o: localmap.cc localmap.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)machdefs.h \
 $(INC)pclassids.h \
 $(INC)pexceptions.h \
 $(INC)md5.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h spherepos.h unitvector.h \
 vector3d.h longlat.h utilgeom.h sphericalmap.h \
 $(INC)nbmath.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)ndatablock.h \
 $(INC)piocmplx.h
$(OBJ)longlat.o: longlat.cc longlat.h utilgeom.h
$(OBJ)mlobe.o: mlobe.cc mlobe.h sphericalmap.h \
 $(INC)nbmath.h \
 $(INC)machdefs.h \
 $(INC)pclassids.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)md5.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h spherepos.h unitvector.h \
 vector3d.h longlat.h utilgeom.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)ndatablock.h \
 $(INC)timing.h
$(OBJ)sambainit.o: sambainit.cc sambainit.h \
 $(INC)outilsinit.h \
 $(INC)peidainit.h \
 $(INC)machdefs.h \
 $(INC)pclassids.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)md5.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h spherethetaphi.h \
 sphericalmap.h $(INC)nbmath.h pixelmap.h \
 $(INC)dvlist.h spherepos.h unitvector.h \
 vector3d.h longlat.h utilgeom.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)ndatablock.h spheregorski.h
$(OBJ)scan.o: scan.cc $(INC)machdefs.h \
 $(INC)pclassids.h scan.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)md5.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h \
 $(INC)ndatablock.h \
 $(INC)piocmplx.h \
 $(INC)nbmath.h
$(OBJ)spheregorski.o: spheregorski.cc \
 $(INC)machdefs.h \
 $(INC)pclassids.h \
 $(INC)pexceptions.h spheregorski.h \
 sphericalmap.h $(INC)nbmath.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)md5.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h spherepos.h unitvector.h \
 vector3d.h longlat.h utilgeom.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)ndatablock.h \
 $(INC)strutil.h
$(OBJ)spherepos.o: spherepos.cc spherepos.h \
 $(INC)machdefs.h \
 $(INC)pclassids.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)md5.h unitvector.h vector3d.h \
 longlat.h utilgeom.h
$(OBJ)spherethetaphi.o: spherethetaphi.cc spherethetaphi.h sphericalmap.h \
 $(INC)nbmath.h \
 $(INC)machdefs.h \
 $(INC)pclassids.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)md5.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h spherepos.h unitvector.h \
 vector3d.h longlat.h utilgeom.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)ndatablock.h \
 $(INC)piocmplx.h
$(OBJ)unitvector.o: unitvector.cc unitvector.h vector3d.h longlat.h \
 utilgeom.h
$(OBJ)utilgeom.o: utilgeom.cc utilgeom.h
$(OBJ)vector3d.o: vector3d.cc vector3d.h longlat.h utilgeom.h
