include $(SOPHYABASE)/include/sophyamake.inc

all: tstxastro tstmollweide

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

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

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

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

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