source:
Sophya/trunk/SophyaExt/XAstroPack/smakefile@
3100
      
      | Last change on this file since 3100 was 2765, checked in by , 20 years ago | |
|---|---|
| File size: 858 bytes | |
| Line | |
|---|---|
| 1 | include $(SOPHYABASE)/include/sophyamake.inc | 
| 2 | |
| 3 | all: $(SOPHYALIBP)libXAstroPack.a | 
| 4 | |
| 5 | clean: | 
| 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 mollweide.h | 
| 15 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ mollweide.cc | 
| 16 | |
| 17 | $(SOPHYAOBJP)xastropack.o: xastropack.cc \ | 
| 18 | $(SOPHYAINCP)sopnamsp.h xastropack.h \ | 
| 19 | $(SOPHYAINCP)machdefs.h \ | 
| 20 | $(SOPHYAINCP)XAstro/astro.h | 
| 21 | $(CXXCOMPILE) $(CXXTEMPFLG) -o $@ xastropack.cc | 
| 22 | |
| 23 | $(SOPHYAOBJP)magfield.o: magfield.c magfield.h | 
| 24 | $(CCOMPILE) -o $@ magfield.c | 
| 25 | 
  Note:
 See   TracBrowser
 for help on using the repository browser.
    ![(please configure the [header_logo] section in trac.ini)](/PI/chrome/site/your_project_logo.png)
