include $(SOPHYABASE)/include/sophyamake.inc

all: tstxastro tstmollweide

clean:
	rm -f *.o tstxastro tstmollweide mollw.data mollw2.data

#---------------------
tstxastro: tstxastro.o
	$(CXXLINK) $(CXXTEMPFLG) -o $@ tstxastro.o $(SOPEXTLIBP) -L$(SOPHYALIBP) -lXAstroPack -lxastro -lc -lm

tstxastro.o: tstxastro.cc
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ tstxastro.cc

#---------------------
tstmollweide: tstmollweide.o
	$(CXXLINK) $(CXXTEMPFLG) -o $@ tstmollweide.o $(SOPEXTLIBP) -L$(SOPHYALIBP) -lXAstroPack -lxastro -lc -lm

tstmollweide.o: tstmollweide.cc
	$(CXXCOMPILE) $(CXXTEMPFLG) -o $@ tstmollweide.cc
