Skip to content
Snippets Groups Projects
Makefile.macosx.cedric 496 B
Newer Older
  • Learn to ignore specific revisions
  • .SUFFIXES:.out .o .s .c .F .f .f90 .e .r .y .yr .ye .l .p .sh .csh .h
    
    FLAGS = -c -O
    F90 = f90
    F77 = f77
    CC = cc
    
    # for P690
    # FLAGS = -c -O -qnosave
    # F90 = mpxlf
    # CC = cc -w
    
    OBJECTS_OCTREE = \
    OctreeBitPlus.o \
    diamtr_sloan.o \
    graph_sloan.o \
    isorti_sloan.o \
    label_sloan.o \
    number_sloan.o \
    profil_sloan.o \
    rootls_sloan.o
    
    .f90.o:
    	$(F90) $(FLAGS) $(INCLUDE) $*.f90
    
    .f.o:
    	$(F77) $(FLAGS) $*.f
    
    .c.o:
    	$(CC) $(FLAGS) $*.c
    
    octree:	$(OBJECTS_OCTREE)
    	ar rcv libOctree.a $(OBJECTS_OCTREE)