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


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/smakefile

    r2751 r2763  
    11include $(SOPHYABASE)/include/sophyamake.inc
    2 
     2 
    33all: $(SOPHYALIBP)libXAstroPack.a
    4 
    5 clean: cleantest
    6         rm -f $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)tstxastro.o \
    7               $(SOPHYAOBJP)xastropack.o $(SOPHYAOBJP)magfield.o
     4 
     5clean:
     6         rm -f $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)tstmollweide.o $(SOPHYAOBJP)tstxastro.o $(SOPHYAOBJP)xastropack.o $(SOPHYAOBJP)magfield.o
    87        rm -f $(SOPHYALIBP)libXAstroPack.a
    9 
    10 cleantest:
    11         rm -f *.o tstxastro tstmollweide mollw.data mollw2.data
    12 
    13 $(SOPHYALIBP)libXAstroPack.a : $(SOPHYAOBJP)magfield.o \
    14              $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)xastropack.o
    15         $(AR) $(ARFLAGS) $@ $?
    168 
    17 $(SOPHYAOBJP)mollweide.o: mollweide.cc mollweide.h
     9$(SOPHYALIBP)libXAstroPack.a : $(SOPHYAOBJP)magfield.o $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)xastropack.o
     10        $(AR) $(ARFLAGS) $@ $?
     11        touch $(SOPHYAINCP)/SophyaConfInfo/libextsophya.objlist
     12 
     13$(SOPHYAOBJP)mollweide.o: mollweide.cc \
     14  $(SOPHYAINCP)sopnamsp.h \
     15  mollweide.h
    1816        $(CXXCOMPILELIB) -o $@ $<
    19 
    20 $(SOPHYAOBJP)xastropack.o: xastropack.cc xastropack.h \
    21  $(SOPHYAINCP)machdefs.h \
    22  $(SOPHYAINCP)XAstro/astro.h
     17 
     18$(SOPHYAOBJP)xastropack.o: xastropack.cc \
     19  $(SOPHYAINCP)sopnamsp.h \
     20  xastropack.h \
     21  $(SOPHYAINCP)machdefs.h \
     22  $(SOPHYAINCP)XAstro/astro.h
    2323        $(CXXCOMPILELIB) -o $@ $<
    24 
     24 
    2525$(SOPHYAOBJP)magfield.o: magfield.c magfield.h
    2626        $(CCOMPILE) -o $@ $<
    27 
    28 #---------------------
    29 tstxastro: tstxastro.o $(SOPHYAOBJP)xastropack.o
    30         $(CXXLINK) $^ -o $@ $(SOPEXTLIBP) -lxastro -lc -lm
    31 
    32 tstxastro.o: tstxastro.cc
    33         $(CXXCOMPILEPROG) -o $@ $<
    34 
    35 #---------------------
    36 tstmollweide: tstmollweide.o $(SOPHYAOBJP)mollweide.o
    37         $(CXXLINK) -o $@ $^ $(SOPEXTLIBP) -lxastro -lc -lm
    38 
    39 tstmollweide.o: tstmollweide.cc
    40         $(CXXCOMPILEPROG) -o $@ $<
     27 
Note: See TracChangeset for help on using the changeset viewer.