/[escript]/trunk/make/hosts/attic/Makefile.depend
ViewVC logotype

Annotation of /trunk/make/hosts/attic/Makefile.depend

Parent Directory Parent Directory | Revision Log Revision Log


Revision 155 - (hide annotations)
Wed Nov 9 02:02:19 2005 UTC (17 years, 4 months ago) by jgs
File size: 1426 byte(s)
move all directories from trunk/esys2 into trunk and remove esys2

1 jgs 82 # $Id$
2    
3     # Implicit dependencies
4    
5     ifneq (${MAKECMDGOALS},clean)
6     ifneq (${strip ${CC_SRC} ${CPP_SRC} ${SWIG_SRC}},)
7     -include ${addprefix ${L_DEP_DIR}/, ${CC_SRC:.c=.d} ${CPP_SRC:.cpp=.d} ${SWIG_SRC:.i=.d}}
8     endif
9     endif
10    
11     # implicit automatic dependencies
12     ${L_DEP_DIR}/%.d: %.c
13     @echo ----------------------------------------------------------------------------
14     @if test ! -e "${@D}"; then mkdir -p ${@D}; fi
15     ${strip ${CC} ${CC_DEP_FLAGS} ${CC_FLAGS} $<} \
16     | sed 's|.*:|${strip ${patsubst ${L_SRC_DIR}/%.c, %.o, $<}} ${@}:|g' > $@
17     @[ -s $@ ] || rm -f $@; [ -f $@ ]
18     @echo Implicitly Generated \"$@: $<\".
19    
20     # implicit automatic dependencies
21     ${L_DEP_DIR}/%.d: %.cpp
22     @echo ----------------------------------------------------------------------------
23     @if test ! -e "${@D}"; then mkdir -p ${@D}; fi
24     ${strip ${CPP} ${CPP_DEP_FLAGS} ${CPP_FLAGS} $<} \
25     | sed 's|.*:|${strip ${patsubst ${L_SRC_DIR}/%.cpp, %.o, $<}} ${@}:|g' > $@
26     @[ -s $@ ] || rm -f $@; [ -f $@ ]
27     @echo Implicitly Generated \"$@: $<\".
28    
29     # $Log$
30     # Revision 1.1 2004/10/26 06:53:58 jgs
31     # Initial revision
32     #
33     # Revision 1.1.2.1 2004/09/27 06:29:16 jgs
34     # moved from make/hosts
35     #
36     # Revision 1.1.1.1 2004/06/24 04:00:39 johng
37     # Initial version of eys using boost-python.
38     #
39     # Revision 1.2 2003/08/25 02:18:40 davies
40     # Do not build source dependencies when simply cleaning.
41     #
42     # Revision 1.1.1.1 2003/08/21 00:58:20 davies
43     # Imported sources from Lutz Gross.
44     #

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26