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

Last change on this file since 2764 was 2763, checked in by cmv, 20 years ago

suite modifs makefile/configure cmv 24/05/05

File size: 812 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 \
14 $(SOPHYAINCP)sopnamsp.h \
15 mollweide.h
[2751]16 $(CXXCOMPILELIB) -o $@ $<
[2763]17
18$(SOPHYAOBJP)xastropack.o: xastropack.cc \
19 $(SOPHYAINCP)sopnamsp.h \
20 xastropack.h \
21 $(SOPHYAINCP)machdefs.h \
22 $(SOPHYAINCP)XAstro/astro.h
[2751]23 $(CXXCOMPILELIB) -o $@ $<
[2763]24
[2743]25$(SOPHYAOBJP)magfield.o: magfield.c magfield.h
26 $(CCOMPILE) -o $@ $<
[2763]27
Note: See TracBrowser for help on using the repository browser.