source: Sophya/trunk/SophyaExt/XAstroPack/Makefile@ 3879

Last change on this file since 3879 was 3879, checked in by cmv, 15 years ago

generation Makefile et smakefile en prevision du tag, cmv 10/09/2010

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