| Line |   | 
|---|
| 1 | #  -*- makefile -*-
 | 
|---|
| 2 | # ################## ArchTOIPipe-With-Sophya #################### 
 | 
|---|
| 3 | # ##### LAL (Orsay) / IN2P3-CNRS  DAPNIA/SPP (Saclay) / CEA #####
 | 
|---|
| 4 | # ############################################################### 
 | 
|---|
| 5 | #  Global definitions to be used for ArchTOIPipe makefiles 
 | 
|---|
| 6 | #  with SOPHYA (Uses Sophya/Makefile.h)
 | 
|---|
| 7 | #---------------------------------------------------------------------------
 | 
|---|
| 8 | 
 | 
|---|
| 9 | MYBUILDDEVREP := ${ARCHPDEVREP}
 | 
|---|
| 10 | 
 | 
|---|
| 11 | include ${DPCBASEREP}/Include/Makefile.h
 | 
|---|
| 12 | 
 | 
|---|
| 13 | #-
 | 
|---|
| 14 | #-   Define ArchTOIPipe build paths
 | 
|---|
| 15 | #-  
 | 
|---|
| 16 | APP  := ${ARCHPDEVREP}/${MACHDIR}/
 | 
|---|
| 17 | ALIB := ${APP}/Libs/
 | 
|---|
| 18 | ASLB := ${APP}/ShLibs/
 | 
|---|
| 19 | OBJ  := ${APP}/Objs/
 | 
|---|
| 20 | # AOBJ := ${APP}/Objs/
 | 
|---|
| 21 | AEXE := ${APP}/Exec/
 | 
|---|
| 22 | AINC := ${ARCHPDEVREP}/Include/
 | 
|---|
| 23 | #--
 | 
|---|
| 24 | 
 | 
|---|
| 25 | 
 | 
|---|
| 26 | CPPFLAGS     :=  ${CPPFLAGS} -I${AINC} -I${EXTINCPATH}/FitsIO -DWITH_SOPHYA -I$(PIOINCDIR)
 | 
|---|
| 27 | 
 | 
|---|
| 28 | #- redefine implicit rule. Les .o sont dans $(OBJ).
 | 
|---|
| 29 | #$(AOBJ)%.o:%.c
 | 
|---|
| 30 | #       $(COMPILE.c) -o $@ $<
 | 
|---|
| 31 | 
 | 
|---|
| 32 | #$(AOBJ)%.o:%.cc
 | 
|---|
| 33 | #       $(COMPILE.cc) -o $@ $<
 | 
|---|
| 34 | 
 | 
|---|
| 35 | #$(AOBJ)%.o:%.f
 | 
|---|
| 36 | #       $(COMPILE.f) -o $@ $< 
 | 
|---|
| 37 | 
 | 
|---|
| 38 | #OSF1
 | 
|---|
| 39 | #LDFC est f77
 | 
|---|
| 40 | #LDFCFLAGS est rien
 | 
|---|
| 41 | 
 | 
|---|
| 42 | #parfois
 | 
|---|
| 43 | #LDFC est cc
 | 
|---|
| 44 | #LDFCFLAGS est -ltruc
 | 
|---|
| 45 | 
 | 
|---|
| 46 | #------------------------------------------------- End of Makefile.h ------- 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.