~ubuntu-branches/ubuntu/natty/suitesparse/natty

« back to all changes in this revision

Viewing changes to LDL/Lib/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme
  • Date: 2007-05-29 09:36:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070529093629-zowquo0b7slkk6nc
Tags: 3.0.0-2
* suitesparse builds properly twice in a row
* Bug fix: "suitesparse - FTBFS: Broken build depens: libgfortran1-dev",
  thanks to Bastian Blank (Closes: #426349).
* Bug fix: "suitesparse_3.0.0-1: FTBFS: build-depends on
  libgfortran1-dev", thanks to Steve Langasek (Closes: #426354).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#-------------------------------------------------------------------------------
 
2
# Makefile for the LDL library
 
3
#-------------------------------------------------------------------------------
 
4
 
 
5
default: all
 
6
 
 
7
include ../../UFconfig/UFconfig.mk
 
8
 
 
9
I = -I../../UFconfig -I../Include
 
10
 
 
11
C = $(CC) $(CFLAGS) $(I)
 
12
 
 
13
all: libldl.a
 
14
 
 
15
#-------------------------------------------------------------------------------
 
16
# the ldl library:
 
17
#-------------------------------------------------------------------------------
 
18
 
 
19
libldl.a: ../Source/ldl.c ../Include/ldl.h
 
20
        $(C) -c ../Source/ldl.c -o ldl.o
 
21
        $(C) -DLDL_LONG -c ../Source/ldl.c -o ldll.o
 
22
        $(AR) libldl.a ldl.o ldll.o
 
23
        - $(RANLIB) libldl.a
 
24
 
 
25
distclean: purge
 
26
 
 
27
purge: clean
 
28
        - $(RM) libldl.a
 
29
 
 
30
clean:
 
31
        - $(RM) $(CLEAN)
 
32