| 1 | include $(SOPHYABASE)/include/sophyamake.inc
 | 
|---|
| 2 |  
 | 
|---|
| 3 | PROGS = $(SOPHYAEXEP)runcxx $(SOPHYAEXEP)scanppf $(SOPHYAEXEP)scanfits
 | 
|---|
| 4 |  
 | 
|---|
| 5 | all: $(PROGS)
 | 
|---|
| 6 |  
 | 
|---|
| 7 | clean:
 | 
|---|
| 8 |         rm -f $(PROGS)
 | 
|---|
| 9 |         rm -f $(SOPHYAOBJP)scanfits.o $(SOPHYAOBJP)scanppf.o $(SOPHYAOBJP)runcxx.o
 | 
|---|
| 10 |  
 | 
|---|
| 11 | runcxx: $(SOPHYAEXEP)runcxx
 | 
|---|
| 12 |         echo $@ " done"
 | 
|---|
| 13 | $(SOPHYAEXEP)runcxx: $(SOPHYAOBJP)runcxx.o
 | 
|---|
| 14 |         $(CXXLINK) -o $@ $? $(SOPHYAEXTSLBLIST)
 | 
|---|
| 15 |  
 | 
|---|
| 16 | scanppf: $(SOPHYAEXEP)scanppf
 | 
|---|
| 17 |         echo $@ " done"
 | 
|---|
| 18 | $(SOPHYAEXEP)scanppf: $(SOPHYAOBJP)scanppf.o
 | 
|---|
| 19 |         $(CXXLINK) -o $@ $? $(SOPHYAEXTSLBLIST)
 | 
|---|
| 20 |  
 | 
|---|
| 21 | scanfits: $(SOPHYAEXEP)scanfits
 | 
|---|
| 22 |         echo $@ " done"
 | 
|---|
| 23 | $(SOPHYAEXEP)scanfits: $(SOPHYAOBJP)scanfits.o
 | 
|---|
| 24 |         $(CXXLINK) -o $@ $? $(SOPHYAEXTSLBLIST)
 | 
|---|
| 25 |  
 | 
|---|
| 26 | $(SOPHYAOBJP)runcxx.o: runcxx.cc $(SOPHYAINCP)sopnamsp.h \
 | 
|---|
| 27 |   $(SOPHYAINCP)machdefs.h \
 | 
|---|
| 28 |   $(SOPHYAINCP)tarrinit.h \
 | 
|---|
| 29 |   $(SOPHYAINCP)sophyainit.h \
 | 
|---|
| 30 |   $(SOPHYAINCP)array.h \
 | 
|---|
| 31 |   $(SOPHYAINCP)tarray.h \
 | 
|---|
| 32 |   $(SOPHYAINCP)basarr.h \
 | 
|---|
| 33 |   $(SOPHYAINCP)anydataobj.h \
 | 
|---|
| 34 |   $(SOPHYAINCP)mutyv.h \
 | 
|---|
| 35 |   $(SOPHYAINCP)dvlist.h \
 | 
|---|
| 36 |   $(SOPHYAINCP)objfio.h \
 | 
|---|
| 37 |   $(SOPHYAINCP)ppersist.h \
 | 
|---|
| 38 |   $(SOPHYAINCP)pexceptions.h \
 | 
|---|
| 39 |   $(SOPHYAINCP)gnumd5.h \
 | 
|---|
| 40 |   $(SOPHYAINCP)ppfbinstream.h \
 | 
|---|
| 41 |   $(SOPHYAINCP)rawstream.h \
 | 
|---|
| 42 |   $(SOPHYAINCP)ppfnametag.h \
 | 
|---|
| 43 |   $(SOPHYAINCP)ndatablock.h \
 | 
|---|
| 44 |   $(SOPHYAINCP)utilarr.h \
 | 
|---|
| 45 |   $(SOPHYAINCP)tmatrix.h \
 | 
|---|
| 46 |   $(SOPHYAINCP)tvector.h \
 | 
|---|
| 47 |   $(SOPHYAINCP)matharr.h \
 | 
|---|
| 48 |   $(SOPHYAINCP)fioarr.h \
 | 
|---|
| 49 |   $(SOPHYAINCP)sopemtx.h \
 | 
|---|
| 50 |   $(SOPHYAINCP)sambainit.h \
 | 
|---|
| 51 |   $(SOPHYAINCP)skymapinit.h \
 | 
|---|
| 52 |   $(SOPHYAINCP)ntoolsinit.h \
 | 
|---|
| 53 |   $(SOPHYAINCP)skyinit.h \
 | 
|---|
| 54 |   $(SOPHYAINCP)cxxcmplnk.h \
 | 
|---|
| 55 |   $(SOPHYAINCP)pdlmgr.h \
 | 
|---|
| 56 |   $(SOPHYAINCP)timing.h
 | 
|---|
| 57 |         $(CXXCOMPILE) -o $@ $<
 | 
|---|
| 58 |  
 | 
|---|
| 59 | $(SOPHYAOBJP)scanfits.o: scanfits.cc \
 | 
|---|
| 60 |   $(SOPHYAINCP)sopnamsp.h \
 | 
|---|
| 61 |   $(SOPHYAINCP)histinit.h \
 | 
|---|
| 62 |   $(SOPHYAINCP)ntoolsinit.h \
 | 
|---|
| 63 |   $(SOPHYAINCP)tarrinit.h \
 | 
|---|
| 64 |   $(SOPHYAINCP)sophyainit.h \
 | 
|---|
| 65 |   $(SOPHYAINCP)machdefs.h \
 | 
|---|
| 66 |   $(SOPHYAINCP)dvlist.h \
 | 
|---|
| 67 |   $(SOPHYAINCP)objfio.h \
 | 
|---|
| 68 |   $(SOPHYAINCP)anydataobj.h \
 | 
|---|
| 69 |   $(SOPHYAINCP)ppersist.h \
 | 
|---|
| 70 |   $(SOPHYAINCP)pexceptions.h \
 | 
|---|
| 71 |   $(SOPHYAINCP)gnumd5.h \
 | 
|---|
| 72 |   $(SOPHYAINCP)ppfbinstream.h \
 | 
|---|
| 73 |   $(SOPHYAINCP)rawstream.h \
 | 
|---|
| 74 |   $(SOPHYAINCP)ppfnametag.h \
 | 
|---|
| 75 |   $(SOPHYAINCP)mutyv.h \
 | 
|---|
| 76 |   $(SOPHYAINCP)ntuple.h \
 | 
|---|
| 77 |   $(SOPHYAINCP)ntupintf.h \
 | 
|---|
| 78 |   $(SOPHYAINCP)xntuple.h \
 | 
|---|
| 79 |   $(SOPHYAINCP)fitsxntuple.h \
 | 
|---|
| 80 |   $(SOPHYAINCP)fitsfile.h \
 | 
|---|
| 81 |   $(SOPHYAINCP)ndatablock.h \
 | 
|---|
| 82 |   $(SOPHYAINCP)FitsIO/fitsio.h \
 | 
|---|
| 83 |   $(SOPHYAINCP)FitsIO/longnam.h \
 | 
|---|
| 84 |   $(SOPHYAINCP)fitsntuple.h
 | 
|---|
| 85 |         $(CXXCOMPILE) -o $@ $<
 | 
|---|
| 86 |  
 | 
|---|
| 87 | $(SOPHYAOBJP)scanppf.o: scanppf.cc \
 | 
|---|
| 88 |   $(SOPHYAINCP)sopnamsp.h \
 | 
|---|
| 89 |   $(SOPHYAINCP)ppersist.h \
 | 
|---|
| 90 |   $(SOPHYAINCP)machdefs.h \
 | 
|---|
| 91 |   $(SOPHYAINCP)pexceptions.h \
 | 
|---|
| 92 |   $(SOPHYAINCP)gnumd5.h \
 | 
|---|
| 93 |   $(SOPHYAINCP)ppfbinstream.h \
 | 
|---|
| 94 |   $(SOPHYAINCP)rawstream.h \
 | 
|---|
| 95 |   $(SOPHYAINCP)ppfnametag.h \
 | 
|---|
| 96 |   $(SOPHYAINCP)anydataobj.h \
 | 
|---|
| 97 |   $(SOPHYAINCP)sambainit.h \
 | 
|---|
| 98 |   $(SOPHYAINCP)skymapinit.h \
 | 
|---|
| 99 |   $(SOPHYAINCP)sophyainit.h \
 | 
|---|
| 100 |   $(SOPHYAINCP)ntoolsinit.h \
 | 
|---|
| 101 |   $(SOPHYAINCP)tarrinit.h \
 | 
|---|
| 102 |   $(SOPHYAINCP)histinit.h
 | 
|---|
| 103 |         $(CXXCOMPILE) -o $@ $<
 | 
|---|
| 104 |  
 | 
|---|