7 |
# dependency rules for those source files. If the makefiles containing these rules cannot be found |
# dependency rules for those source files. If the makefiles containing these rules cannot be found |
8 |
# make will attempt to remake them. |
# make will attempt to remake them. |
9 |
ifneq (${MAKECMDGOALS},clean) |
ifneq (${MAKECMDGOALS},clean) |
10 |
|
ifneq (${MAKECMDGOALS},uninstall) |
11 |
ifneq (${strip ${CC_SRC} ${CPP_SRC} ${SWIG_SRC}},) |
ifneq (${strip ${CC_SRC} ${CPP_SRC} ${SWIG_SRC}},) |
12 |
-include ${addprefix ${L_DEP_DIR}/, ${CC_SRC:.c=.d} ${CPP_SRC:.cpp=.d} ${SWIG_SRC:.i=.d}} |
-include ${addprefix ${L_DEP_DIR}/, ${CC_SRC:.c=.d} ${CPP_SRC:.cpp=.d} ${SWIG_SRC:.i=.d}} |
13 |
endif |
endif |
14 |
endif |
endif |
15 |
|
endif |
16 |
|
|
17 |
# Rules to autogenerate dependency rules for .c files |
# Rules to autogenerate dependency rules for .c files |
18 |
${L_DEP_DIR}/%.d: %.c |
${L_DEP_DIR}/%.d: %.c |
33 |
@echo Generated \"$@: $<\". |
@echo Generated \"$@: $<\". |
34 |
|
|
35 |
# $Log$ |
# $Log$ |
36 |
# Revision 1.1 2004/10/26 06:53:58 jgs |
# Revision 1.2 2005/06/09 05:38:02 jgs |
37 |
# Initial revision |
# Merge of development branch back to main trunk on 2005-06-09 |
38 |
|
# |
39 |
|
# Revision 1.1.1.1.2.1 2005/05/18 06:38:39 jgs |
40 |
|
# don't make dependencies on target uninstall |
41 |
|
# |
42 |
|
# Revision 1.1.1.1 2004/10/26 06:53:58 jgs |
43 |
|
# initial import of project esys2 |
44 |
# |
# |
45 |
# Revision 1.2 2004/09/23 01:48:45 jgs |
# Revision 1.2 2004/09/23 01:48:45 jgs |
46 |
# make: augmented Makefiles with comments throughout |
# make: augmented Makefiles with comments throughout |