MODULECXXREPNAME :=  CmvTests
MODULEDECCXXFLAGS := -msg_quiet
include $(SOPHYABASEREP)/Include/MakefileUser.h

LIBNEED := -L$(SLB) -lsophya -L$(LIB) -lFitsIOServer -L$(EXTLIBPATH) -lcfitsio

all: tstxastro mollweide

clean:
	rm -f tstxastro mollweide
	rm -f core *.o
	rm -f mollw.data mollw2.data paw.metafile last.kumacold

##############################################################################
tstxastro: tstxastro.o xastropack.o
	$(LINK.cc) $^ -o $@ $(LOADLIBES) $(LIBS) $(LDLIBS)
tstxastro.o: tstxastro.cc
xastropack.o: xastropack.cc
##############################################################################
mollweide: mollweide.o
	$(LINK.cc) -DTEST_MOLLWEIDE $^ -o $@ $(LOADLIBES) $(LIBS) $(LDLIBS)
mollweide.o: mollweide.cc mollweide.h
	$(COMPILE.cc) -DTEST_MOLLWEIDE -o $@ $<
##############################################################################
