include ../Mgr/Makefile.h
 
all: $(LIB)libSkyMap.a
clean:
	rm -f $(OBJ)fiolocalmap.o $(OBJ)fiospherehealpix.o $(OBJ)fiospherethetaphi.o $(OBJ)localmap.o $(OBJ)longlat.o $(OBJ)skymapinit.o $(OBJ)spherehealpix.o $(OBJ)spherepos.o $(OBJ)spherethetaphi.o $(OBJ)unitvector.o $(OBJ)utilgeom.o $(OBJ)vector3d.o
	rm -f $(LIB)libSkyMap.a
$(LIB)libSkyMap.a : $(OBJ)fiolocalmap.o $(OBJ)fiospherehealpix.o $(OBJ)fiospherethetaphi.o $(OBJ)localmap.o $(OBJ)longlat.o $(OBJ)skymapinit.o $(OBJ)spherehealpix.o $(OBJ)spherepos.o $(OBJ)spherethetaphi.o $(OBJ)unitvector.o $(OBJ)utilgeom.o $(OBJ)vector3d.o
	$(ARCXX) $(ARCXXFLAGS) $@ $?
ifeq ($(CXX),cxx)
	$(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -o $(OBJ)xx.x -Hf
endif 
 
$(OBJ)fiolocalmap.o: fiolocalmap.cc fiolocalmap.h sphericalmap.h \
 $(INC)smathconst.h \
 $(INC)machdefs.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.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)tarray.h \
 $(INC)basarr.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h localmap.h \
 $(INC)fiondblock.h
$(OBJ)fiospherehealpix.o: fiospherehealpix.cc fiospherehealpix.h \
 sphericalmap.h $(INC)smathconst.h \
 $(INC)machdefs.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.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)tarray.h \
 $(INC)basarr.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h spherehealpix.h \
 $(INC)fiondblock.h
$(OBJ)fiospherethetaphi.o: fiospherethetaphi.cc fiospherethetaphi.h \
 sphericalmap.h $(INC)smathconst.h \
 $(INC)machdefs.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.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)tarray.h \
 $(INC)basarr.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h spherethetaphi.h \
 $(INC)fiondblock.h
$(OBJ)localmap.o: localmap.cc localmap.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)machdefs.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.h \
 $(INC)dvlist.h \
 $(INC)objfio.h \
 $(INC)anydataobj.h spherepos.h unitvector.h \
 vector3d.h longlat.h utilgeom.h sphericalmap.h \
 $(INC)smathconst.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h \
 $(INC)piocmplx.h \
 $(INC)fiondblock.h
$(OBJ)longlat.o: longlat.cc longlat.h utilgeom.h
$(OBJ)skymapinit.o: skymapinit.cc $(INC)machdefs.h \
 skymapinit.h $(INC)sophyainit.h \
 spherethetaphi.h sphericalmap.h \
 $(INC)smathconst.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.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)tarray.h \
 $(INC)basarr.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h fiospherehealpix.h \
 spherehealpix.h fiospherethetaphi.h fiolocalmap.h localmap.h
$(OBJ)spherehealpix.o: spherehealpix.cc \
 $(INC)machdefs.h \
 $(INC)pexceptions.h \
 $(INC)fiondblock.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)ndatablock.h \
 $(INC)anydataobj.h spherehealpix.h \
 sphericalmap.h $(INC)smathconst.h pixelmap.h \
 $(INC)dvlist.h \
 $(INC)objfio.h spherepos.h unitvector.h \
 vector3d.h longlat.h utilgeom.h \
 $(INC)tvector.h \
 $(INC)tmatrix.h \
 $(INC)tarray.h \
 $(INC)basarr.h \
 $(INC)utilarr.h \
 $(INC)strutil.h
$(OBJ)spherepos.o: spherepos.cc spherepos.h \
 $(INC)machdefs.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.h unitvector.h vector3d.h \
 longlat.h utilgeom.h $(INC)anydataobj.h
$(OBJ)spherethetaphi.o: spherethetaphi.cc spherethetaphi.h sphericalmap.h \
 $(INC)smathconst.h \
 $(INC)machdefs.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)pexceptions.h \
 $(INC)gnumd5.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)tarray.h \
 $(INC)basarr.h \
 $(INC)ndatablock.h \
 $(INC)utilarr.h \
 $(INC)piocmplx.h \
 $(INC)fiondblock.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 $(INC)machdefs.h \
 $(INC)pexceptions.h vector3d.h longlat.h \
 utilgeom.h
