]>
Commit | Line | Data |
---|---|---|
a597b9d8 JB |
1 | --- AMD/Demo/Makefile.orig 2014-10-01 19:46:11.263025978 +0200 |
2 | +++ AMD/Demo/Makefile 2014-10-01 19:57:46.742996793 +0200 | |
3 | @@ -4,16 +4,15 @@ | |
3a1b63e2 JR |
4 | |
5 | default: amd_simple amd_demo amd_demo2 amd_l_demo | |
6 | ||
52e53b91 JB |
7 | -include ../../SuiteSparse_config/SuiteSparse_config.mk |
8 | +include /usr/share/misc/SuiteSparse_config.mk | |
3a1b63e2 | 9 | |
52e53b91 | 10 | -C = $(CC) $(CF) -I../Include -I../../SuiteSparse_config |
0df8ae65 | 11 | +C = $(CC) $(CF) -I../Include |
3a1b63e2 | 12 | |
52e53b91 | 13 | -INC = ../Include/amd.h ../../SuiteSparse_config/SuiteSparse_config.h |
3a1b63e2 JR |
14 | +INC = ../Include/amd.h |
15 | ||
a597b9d8 JB |
16 | -LIB2 = ../../SuiteSparse_config/libsuitesparseconfig.a $(LIB) |
17 | +LIB2 = -lsuitesparseconfig $(LIB) | |
18 | ||
3a1b63e2 | 19 | library: |
a597b9d8 | 20 | - ( cd ../../SuiteSparse_config ; $(MAKE) ) |
3a1b63e2 | 21 | ( cd ../Lib ; $(MAKE) ) |
a597b9d8 JB |
22 | |
23 | f77lib: | |
52e53b91 JB |
24 | --- AMD/Doc/Makefile.orig 2012-05-28 02:24:04.000000000 +0200 |
25 | +++ AMD/Doc/Makefile 2012-06-27 15:15:47.109046348 +0200 | |
3a1b63e2 JR |
26 | @@ -4,7 +4,7 @@ |
27 | ||
28 | default: dist | |
29 | ||
52e53b91 JB |
30 | -include ../../SuiteSparse_config/SuiteSparse_config.mk |
31 | +include /usr/share/misc/SuiteSparse_config.mk | |
3a1b63e2 JR |
32 | |
33 | #------------------------------------------------------------------------------ | |
34 | # Remove all but the files in the original distribution | |
52e53b91 JB |
35 | --- AMD/Include/amd.h.orig 2012-05-29 18:42:50.000000000 +0200 |
36 | +++ AMD/Include/amd.h 2012-06-27 15:12:34.369054437 +0200 | |
37 | @@ -43,7 +43,7 @@ | |
38 | /* get the definition of size_t: */ | |
3a1b63e2 JR |
39 | #include <stddef.h> |
40 | ||
52e53b91 JB |
41 | -#include "SuiteSparse_config.h" |
42 | +#include <SuiteSparse_config.h> | |
3a1b63e2 | 43 | |
52e53b91 JB |
44 | int amd_order /* returns AMD_OK, AMD_OK_BUT_JUMBLED, |
45 | * AMD_INVALID, or AMD_OUT_OF_MEMORY */ | |
46 | --- AMD/Lib/Makefile.orig 2012-05-27 01:19:39.000000000 +0200 | |
47 | +++ AMD/Lib/Makefile 2012-06-27 15:16:07.689045486 +0200 | |
3a1b63e2 JR |
48 | @@ -8,9 +8,9 @@ |
49 | ||
50 | default: everything | |
51 | ||
52e53b91 JB |
52 | -include ../../SuiteSparse_config/SuiteSparse_config.mk |
53 | +include /usr/share/misc/SuiteSparse_config.mk | |
3a1b63e2 | 54 | |
52e53b91 | 55 | -C = $(CC) $(CF) -I../Include -I../../SuiteSparse_config |
0df8ae65 | 56 | +C = $(CC) $(CF) -I../Include |
3a1b63e2 JR |
57 | |
58 | everything: | |
59 | $(C) -DDINT -c ../Source/amd_aat.c -o amd_i_aat.o | |
52e53b91 JB |
60 | --- AMD/Makefile.orig 2012-05-28 22:30:07.000000000 +0200 |
61 | +++ AMD/Makefile 2012-06-27 15:16:34.285711036 +0200 | |
62 | @@ -6,7 +6,7 @@ | |
3a1b63e2 | 63 | |
52e53b91 | 64 | default: all |
3a1b63e2 | 65 | |
52e53b91 JB |
66 | -include ../SuiteSparse_config/SuiteSparse_config.mk |
67 | +include /usr/share/misc/SuiteSparse_config.mk | |
3a1b63e2 | 68 | |
52e53b91 | 69 | demos: all |
3a1b63e2 | 70 | |
52e53b91 JB |
71 | --- AMD/Lib/GNUmakefile.orig 2012-05-29 23:56:26.000000000 +0200 |
72 | +++ AMD/Lib/GNUmakefile 2012-06-27 15:20:21.892368141 +0200 | |
3a1b63e2 JR |
73 | @@ -4,9 +4,9 @@ |
74 | ||
0df8ae65 | 75 | default: libamd.a |
3a1b63e2 | 76 | |
52e53b91 JB |
77 | -include ../../SuiteSparse_config/SuiteSparse_config.mk |
78 | +include /usr/share/misc/SuiteSparse_config.mk | |
3a1b63e2 | 79 | |
52e53b91 | 80 | -C = $(CC) $(CF) -I../Include -I../../SuiteSparse_config |
0df8ae65 | 81 | +C = $(CC) $(CF) -I../Include |
3a1b63e2 JR |
82 | |
83 | #------------------------------------------------------------------------------- | |
84 | # source files | |
52e53b91 | 85 | @@ -15,9 +15,7 @@ |
3a1b63e2 JR |
86 | AMD = amd_aat amd_1 amd_2 amd_dump amd_postorder amd_post_tree amd_defaults \ |
87 | amd_order amd_control amd_info amd_valid amd_preprocess | |
88 | ||
52e53b91 | 89 | -CONFIG = ../../SuiteSparse_config/SuiteSparse_config.h |
3a1b63e2 | 90 | - |
52e53b91 | 91 | -INC = ../Include/amd.h ../Include/amd_internal.h $(CONFIG) |
3a1b63e2 JR |
92 | +INC = ../Include/amd.h ../Include/amd_internal.h |
93 | ||
94 | #------------------------------------------------------------------------------- | |
95 | # object files for each version |