/[escript]/trunk/make/Makefile.phony
ViewVC logotype

Annotation of /trunk/make/Makefile.phony

Parent Directory Parent Directory | Revision Log Revision Log


Revision 82 - (hide annotations)
Tue Oct 26 06:53:54 2004 UTC (14 years, 11 months ago) by jgs
Original Path: trunk/esys2/make/Makefile.phony
File size: 2462 byte(s)
Initial revision

1 jgs 82 # $Id$
2    
3     # Phony Targets
4     # Define phony target rules which actually enact building and cleaning
5    
6     # These targets are phony and should always be built when requested
7     .PHONY: all default clean pyc force
8    
9     # Make the default target if no otherwise suitable rules can be found
10     .DEFAULT: default
11    
12     # #############################################################################
13     # If no target is specified, "all" is the first target to be found and made
14     # #############################################################################
15     all: default
16    
17     # Make default target and print source files that were found
18     default: ${DEFAULT_TARGET}
19     @if test -n "${CPP_SRC}";\
20     then\
21     echo "C++ source files: ${CPP_SRC}";\
22     fi
23     @if test -n "${CC_SRC}";\
24     then\
25     echo "C source files: ${CC_SRC}";\
26     fi
27    
28     # Clean: remove dependency, library, object, swig and target files
29     clean:
30     @echo ----------------------------------------------------------------------------
31     @rm -rf ${filter-out %CVS, ${wildcard ${L_DEP_DIR}/src}}
32     @rm -rf ${filter-out %CVS, ${wildcard ${L_DEP_DIR}/*.d}}
33     @rm -rf ${filter-out %CVS, ${wildcard ${L_LIB_DIR}/lib*}}
34     @rm -rf ${filter-out %CVS, ${wildcard ${L_OBJ_DIR}/src}}
35     @rm -rf ${filter-out %CVS, ${wildcard ${L_OBJ_DIR}/*.o}}
36     @rm -rf ${addprefix ${L_SRC_DIR}/, ${SWIG_CPP_SRC}}
37     @rm -rf ${addprefix ${L_SRC_DIR}/, ${SWIG_PY_SRC}}
38     @rm -rf ${DEFAULT_TARGET}
39     @echo Cleaned.
40    
41     # Phony force target for targets of which remake must always happen
42     force:
43    
44     # Python byte-code target
45     pyc: ${PYTHON_BYTE}
46    
47     # Always remake the default target
48     ${DEFAULT_TARGET}:
49    
50     # $Log$
51     # Revision 1.1 2004/10/26 06:53:58 jgs
52     # Initial revision
53     #
54     # Revision 1.2.2.2 2004/09/28 07:03:13 jgs
55     # *** empty log message ***
56     #
57     # Revision 1.2.2.1 2004/09/27 06:44:58 jgs
58     # refined clean target actions
59     #
60     # Revision 1.2 2004/09/23 01:48:46 jgs
61     # make: augmented Makefiles with comments throughout
62     #
63     # Makefile.default - changed order of includes for clarity
64     # Makfile.phony - reordered phony targets
65     # - added target "all" - now first target to be encountered
66     #
67     # Revision 1.1.1.1 2004/06/24 04:00:39 johng
68     # Initial version of eys using boost-python.
69     #
70     # Revision 1.3 2003/08/25 02:14:10 davies
71     # Force builds of linked objects.
72     #
73     # Revision 1.2 2003/08/21 07:12:16 davies
74     # Fixed accidental deletion of CVS directory during "make clean".
75     #
76     # Revision 1.1.1.1 2003/08/21 00:58:20 davies
77     # Imported sources from Lutz Gross.
78     #
79    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26