source: Sophya/trunk/SophyaExt/XAstroPack/smakefile@ 3088

Last change on this file since 3088 was 2765, checked in by ansari, 20 years ago

MAJ Makefile et smakefile suite gestion CXXTEMPFLG ds BuildMgr - cmv+Reza 25/5/2005

File size: 858 bytes
RevLine 
[2743]1include $(SOPHYABASE)/include/sophyamake.inc
[2763]2
[2743]3all: $(SOPHYALIBP)libXAstroPack.a
[2763]4
5clean:
6 rm -f $(SOPHYAOBJP)mollweide.o $(SOPHYAOBJP)tstmollweide.o $(SOPHYAOBJP)tstxastro.o $(SOPHYAOBJP)xastropack.o $(SOPHYAOBJP)magfield.o
[2743]7 rm -f $(SOPHYALIBP)libXAstroPack.a
8
[2763]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 \
[2765]14 $(SOPHYAINCP)sopnamsp.h mollweide.h
15 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ mollweide.cc
[2763]16
17$(SOPHYAOBJP)xastropack.o: xastropack.cc \
[2765]18 $(SOPHYAINCP)sopnamsp.h xastropack.h \
[2763]19 $(SOPHYAINCP)machdefs.h \
20 $(SOPHYAINCP)XAstro/astro.h
[2765]21 $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ xastropack.cc
[2763]22
[2743]23$(SOPHYAOBJP)magfield.o: magfield.c magfield.h
[2765]24 $(CCOMPILE) -o $@ magfield.c
[2763]25
Note: See TracBrowser for help on using the repository browser.