include ../Mgr/Makefile.h
 
all: $(LIB)libSkyMap.a
clean:
	rm -f $(OBJ)localmap.o $(OBJ)longlat.o $(OBJ)skymapinit.o $(OBJ)spheregorski.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)localmap.o $(OBJ)longlat.o $(OBJ)skymapinit.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) -o $(OBJ)xx.x -Hf
endif 
 
$(OBJ)localmap.o: localmap.cc localmap.h pixelmap.h \
 $(INC)ppersist.h \
 $(INC)machdefs.h \
 $(INC)pclassids.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 skymapinit.h \
 $(INC)tarrinit.h \
 $(INC)sophyainit.h \
 $(INC)machdefs.h \
 $(INC)pclassids.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 spheregorski.h localmap.h
$(OBJ)spheregorski.o: spheregorski.cc \
 $(INC)machdefs.h \
 $(INC)pclassids.h \
 $(INC)pexceptions.h \
 $(INC)fiondblock.h \
 $(INC)ppersist.h \
 $(INC)gnumd5.h \
 $(INC)ndatablock.h \
 $(INC)anydataobj.h spheregorski.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)pclassids.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 \
 $(INC)pclassids.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)pclassids.h \
 $(INC)pexceptions.h vector3d.h longlat.h \
 utilgeom.h
