diff options
author | Jan Rękorajski | 2007-12-07 16:41:18 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 229596c762e077907673aa686291c84e471ee03e (patch) | |
tree | 903d98822c4c8e431486ca964017f0964d04bd9f | |
parent | 1beea4c8f14e20a0be3d6cde6e22be7ccca2320b (diff) | |
download | CCOLAMD-229596c762e077907673aa686291c84e471ee03e.zip CCOLAMD-229596c762e077907673aa686291c84e471ee03e.tar.gz |
- use LDFLAGS for linking
Changed files:
ccolamd-shared.patch -> 1.2
-rw-r--r-- | ccolamd-shared.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ccolamd-shared.patch b/ccolamd-shared.patch index fe556c9..2e53f92 100644 --- a/ccolamd-shared.patch +++ b/ccolamd-shared.patch @@ -6,13 +6,13 @@ diff -ur CCOLAMD/Demo/Makefile CCOLAMD-shared/Demo/Makefile ccolamd_example: ccolamd_example.c library - $(C) -o ccolamd_example ccolamd_example.c ../Lib/libccolamd.a -lm -+ libtool --tag=CC --mode=link $(CC) $(CFLAGS) $(I) -o ccolamd_example ccolamd_example.c ../Lib/libccolamd.la -lm ++ libtool --tag=CC --mode=link $(CC) $(LDFLAGS) $(CFLAGS) $(I) -o ccolamd_example ccolamd_example.c ../Lib/libccolamd.la -lm - ./ccolamd_example > my_ccolamd_example.out - diff ccolamd_example.out my_ccolamd_example.out ccolamd_l_example: ccolamd_l_example.c library - $(C) -o ccolamd_l_example ccolamd_l_example.c ../Lib/libccolamd.a -lm -+ libtool --tag=CC --mode=link $(CC) $(CFLAGS) $(I) -o ccolamd_l_example ccolamd_l_example.c ../Lib/libccolamd.la -lm ++ libtool --tag=CC --mode=link $(CC) $(LDFLAGS) $(CFLAGS) $(I) -o ccolamd_l_example ccolamd_l_example.c ../Lib/libccolamd.la -lm - ./ccolamd_l_example > my_ccolamd_l_example.out - diff ccolamd_example.out my_ccolamd_example.out @@ -43,7 +43,7 @@ diff -ur CCOLAMD/Lib/Makefile CCOLAMD-shared/Lib/Makefile + libtool --tag=CC --mode=compile $(CC) $(CFLAGS) $(I) -c ../Source/ccolamd_global.c + libtool --tag=CC --mode=compile $(CC) $(CFLAGS) $(I) -c ../Source/ccolamd.c + libtool --tag=CC --mode=compile $(CC) $(CFLAGS) $(I) -c ../Source/ccolamd.c -DDLONG -o ccolamd_l.o -+ libtool --tag=CC --mode=link $(CC) -o libccolamd.la -rpath $(libdir) ccolamd.o ccolamd_l.o ccolamd_global.o -lm ++ libtool --tag=CC --mode=link $(CC) $(LDFLAGS) -o libccolamd.la -rpath $(libdir) ccolamd.o ccolamd_l.o ccolamd_global.o -lm + +install: libccolamd.la + install -d $(DESTDIR)$(libdir) |