Changeset 2763 in Sophya for trunk/SophyaExt/XAstroPack/Maketest


Ignore:
Timestamp:
May 24, 2005, 7:19:29 PM (20 years ago)
Author:
cmv
Message:

suite modifs makefile/configure cmv 24/05/05

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaExt/XAstroPack/Maketest

    r2437 r2763  
    1 MODULECXXREPNAME :=  CmvTests
    2 MODULEDECCXXFLAGS := -msg_quiet
    3 include $(SOPHYABASEREP)/Include/MakefileUser.h
     1include $(SOPHYABASE)/include/sophyamake.inc
    42
    5 LIBNEED := -L$(SLB) -lsophya -L$(LIB) -lFitsIOServer -L$(EXTLIBPATH) -lcfitsio
    6 
    7 all: tstxastro mollweide
     3all: tstxastro tstmollweide
    84
    95clean:
    10         rm -f tstxastro mollweide
    11         rm -f core *.o
    12         rm -f mollw.data mollw2.data paw.metafile last.kumacold
     6        rm -f *.o tstxastro tstmollweide mollw.data mollw2.data
    137
    14 ##############################################################################
    15 tstxastro: tstxastro.o xastropack.o
    16         $(LINK.cc) $^ -o $@ $(LOADLIBES) $(LIBS) $(LDLIBS)
     8#---------------------
     9tstxastro: tstxastro.o
     10        $(CXXLINK) $^ -o $@ $(SOPEXTLIBP) -L$(SOPHYALIBP) -lXAstroPack -lxastro -lc -lm
     11
    1712tstxastro.o: tstxastro.cc
    18 xastropack.o: xastropack.cc
    19 ##############################################################################
    20 mollweide: mollweide.o
    21         $(LINK.cc) -DTEST_MOLLWEIDE $^ -o $@ $(LOADLIBES) $(LIBS) $(LDLIBS)
    22 mollweide.o: mollweide.cc mollweide.h
    23         $(COMPILE.cc) -DTEST_MOLLWEIDE -o $@ $<
    24 ##############################################################################
     13        $(CXXCOMPILE) -o $@ $<
     14
     15#---------------------
     16tstmollweide: tstmollweide.o
     17        $(CXXLINK) -o $@ $^ $(SOPEXTLIBP) -L$(SOPHYALIBP) -lXAstroPack -lxastro -lc -lm
     18
     19tstmollweide.o: tstmollweide.cc
     20        $(CXXCOMPILE) -o $@ $<
Note: See TracChangeset for help on using the changeset viewer.