SCM

SCM Repository

[matrix] Diff of /branches/Matrix-mer2/src/COLAMD/Makefile
ViewVC logotype

Diff of /branches/Matrix-mer2/src/COLAMD/Makefile

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1027, Tue Nov 8 23:13:17 2005 UTC revision 1028, Tue Nov 8 23:53:35 2005 UTC
# Line 1  Line 1 
1  #default: libcolamd.a colamd_example colamd_l_example  include ${MkInclude}
 default: libcolamd.a  
2    
3  include ../UFconfig/UFconfig.mk  OBJS = colamd.o colamd_global.o
4    
5  colamd_example: colamd_example.c libcolamd.a  LIB = ../COLAMD.a
         $(CC) $(CFLAGS) -o colamd_example colamd_example.c libcolamd.a -lm  
         - ./colamd_example > my_colamd_example.out  
         - diff colamd_example.out my_colamd_example.out  
6    
7  colamd_l_example: colamd_l_example.c libcolamd.a  lib: $(LIB)
         $(CC) $(CFLAGS) -o colamd_l_example colamd_l_example.c libcolamd.a -lm  
         - ./colamd_l_example > my_colamd_l_example.out  
         - diff colamd_example.out my_colamd_example.out  
8    
9  purge: distclean  $(LIB): $(OBJS)
10            $(AR) -rucs $(LIB) $(OBJS)
11    
12  distclean: clean2  mostlyclean: clean
         - $(RM) libcolamd.a  
13    
14  clean2: clean  clean:
15          - $(RM) *.o *.dll colamd_example colamd_l_example          @-rm -rf .libs _libs $(LIB)
16          - $(RM) colamdmex.mex* symamdmex.mex*          @-rm -f *.o
         - $(RM) colamdtestmex.mex* symamdtestmex.mex*  
         - $(RM) my_colamd_example.out my_colamd_l_example.out  
17    
18  # creates libcolamd.a, a C-callable COLAMD library  colamd.o: colamd.h
 libcolamd.a:  colamd.c colamd_global.c colamd.h  
         $(CC) $(CFLAGS) ${CPICFLAGS} -c colamd_global.c  
         $(CC) $(CFLAGS) ${CPICFLAGS} -c colamd.c  
         $(AR) libcolamd.a colamd.o colamd_global.o  
         - cp libcolamd.a ../COLAMD.a  
19    
 ccode: libcolamd.a  
   
 library: libcolamd.a  
   
 lib: library  

Legend:
Removed from v.1027  
changed lines
  Added in v.1028

root@r-forge.r-project.org
ViewVC Help
Powered by ViewVC 1.0.0  
Thanks to:
Vienna University of Economics and Business Powered By FusionForge