~ubuntu-branches/ubuntu/karmic/gmsh/karmic

« back to all changes in this revision

Viewing changes to Parallel/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Christophe Prud'homme, Christophe Prud'homme, Daniel Leidert
  • Date: 2008-05-18 12:46:05 UTC
  • mfrom: (1.2.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20080518124605-716xqbqeo07o497k
Tags: 2.2.0-2
[Christophe Prud'homme]
* Bug fix: "gmsh ships no .desktop", thanks to Vassilis Pandis (Closes:
  #375770). Applied the Ubuntu patch.

[Daniel Leidert]
* debian/control (Vcs-Svn): Fixed.
  (Build-Depends): Use texlive instead of tetex-bin.
* debian/gmsh.doc-base (Section): Fixed accordingly to doc-base (>= 0.8.10).
* debian/rules: Removed some variable declarations, that lead to double
  configuration and seem to be useless.
  (build/gmsh): Try to avoid multiple runs by using a stamp.
  (orig-tarball): Renamed to get-orig-source and changed to use uscan.
* debian/watch: Added.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: Makefile,v 1.36 2007-07-09 13:54:37 geuzaine Exp $
 
1
# $Id: Makefile,v 1.43 2008-02-17 08:48:02 geuzaine Exp $
2
2
#
3
 
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
 
3
# Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
4
4
#
5
5
# This program is free software; you can redistribute it and/or modify
6
6
# it under the terms of the GNU General Public License as published by
21
21
 
22
22
include ../variables
23
23
 
24
 
LIB     = ../lib/libGmshParallel.a
25
 
INCLUDE = -I../Common -I../DataStr
26
 
CFLAGS  = ${OPTIM} ${FLAGS} ${INCLUDE} 
 
24
LIB = ../lib/libGmshParallel${LIBEXT}
 
25
 
 
26
INC = ${DASH}I../Common ${DASH}I../DataStr
 
27
 
 
28
CFLAGS  = ${OPTIM} ${FLAGS} ${INC} ${SYSINCLUDE}
27
29
 
28
30
SRC = ParUtil.cpp
29
31
 
30
 
OBJ = ${SRC:.cpp=.o}
 
32
OBJ = ${SRC:.cpp=${OBJEXT}}
31
33
 
32
 
.SUFFIXES: .o .cpp
 
34
.SUFFIXES: ${OBJEXT} .cpp
33
35
 
34
36
${LIB}: ${OBJ} 
35
 
        ${AR} ${LIB} ${OBJ} 
 
37
        ${AR} ${ARFLAGS}${LIB} ${OBJ} 
36
38
        ${RANLIB} ${LIB}
37
39
 
38
 
.cpp.o:
39
 
        ${CXX} ${CFLAGS} -c $<
 
40
.cpp${OBJEXT}:
 
41
        ${CXX} ${CFLAGS} ${DASH}c $<
40
42
 
41
43
clean:
42
 
        rm -f *.o
 
44
        rm -f *.o *.obj
43
45
 
44
46
depend:
45
47
        (sed '/^# DO NOT DELETE THIS LINE/q' Makefile && \
50
52
        rm -f Makefile.new
51
53
 
52
54
# DO NOT DELETE THIS LINE
53
 
ParUtil.o: ParUtil.cpp ../Common/Gmsh.h ../Common/Message.h \
54
 
  ../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \
55
 
  ../DataStr/avl.h ../DataStr/Tools.h ../DataStr/List.h ../DataStr/Tree.h \
56
 
  ../Common/OS.h ParUtil.h
 
55
ParUtil.o: ParUtil.cpp ../Common/OS.h ParUtil.h