include ../Mgr/Makefile.h
 
all: $(LIB)libSamba.a
clean:
	rm -f $(OBJ)bruit.o $(OBJ)circle.o $(OBJ)gorfph.o $(OBJ)localmap.o $(OBJ)longlat.o $(OBJ)mlobe.o $(OBJ)scan.o $(OBJ)spheregorski.o $(OBJ)spherethetaphi.o $(OBJ)unitvector.o $(OBJ)utilgeom.o $(OBJ)vector3d.o
	rm $(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)scan.o $(OBJ)spheregorski.o $(OBJ)spherethetaphi.o $(OBJ)unitvector.o $(OBJ)utilgeom.o $(OBJ)vector3d.o
	$(AR) $(ARFLAGS) $@ $?
ifeq ($(CXX),cxx)
	$(CXX) $? $(CPPFLAGS) $(CXXFLAGS) -L$(LIB) -lSamba -o $(OBJ)xx.x -Hf
endif 
 
$(OBJ)bruit.o: bruit.cc $(INC)fmath.h \
 $(INC)cimage.h \
 $(INC)rzimage.h \
 $(INC)rzvect.h \
 $(INC)machdefs.h \
 $(INC)pclassids.h \
 $(INC)pexceptions.h \
 $(INC)perrors.h \
 $(INC)datatypes.h \
 $(INC)ppersist.h \
 $(INC)md5.h \
 $(INC)dvlist.h bruit.h \
 $(INC)nbrandom.h \
 $(INC)hbook.h
$(OBJ)circle.o: circle.cc circle.h vector3d.h longlat.h utilgeom.h \
 unitvector.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 sphericalmap.h \
 $(INC)nbmath.h \
 $(INC)cvector.h \
 $(INC)matrix.h \
 $(INC)peida.h \
 $(INC)utils.h \
 $(INC)perrors.h \
 $(INC)fmath.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)cvector.h \
 $(INC)matrix.h \
 $(INC)peida.h \
 $(INC)utils.h \
 $(INC)perrors.h \
 $(INC)fmath.h unitvector.h vector3d.h \
 longlat.h utilgeom.h $(INC)timing.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)nbmath.h
$(OBJ)spheregorski.o: spheregorski.cc spheregorski.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)cvector.h \
 $(INC)matrix.h \
 $(INC)peida.h \
 $(INC)utils.h \
 $(INC)perrors.h \
 $(INC)fmath.h \
 $(INC)strutil.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)cvector.h \
 $(INC)matrix.h \
 $(INC)peida.h \
 $(INC)utils.h \
 $(INC)perrors.h \
 $(INC)fmath.h pdataarray.h prefcount.h
$(OBJ)unitvector.o: unitvector.cc unitvector.h vector3d.h longlat.h \
 utilgeom.h
$(OBJ)utilgeom.o: utilgeom.cc
$(OBJ)vector3d.o: vector3d.cc vector3d.h longlat.h utilgeom.h
