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

Annotation of /trunk/make/Makefile.phony

Parent Directory Parent Directory | Revision Log Revision Log


Revision 100 - (hide annotations)
Wed Dec 15 03:48:48 2004 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/esys2/make/Makefile.phony
File size: 2552 byte(s)
*** empty log message ***

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 jgs 100 # Revision 1.3 2004/12/15 03:48:48 jgs
52 jgs 97 # *** empty log message ***
53 jgs 82 #
54 jgs 97 # Revision 1.1.1.1 2004/10/26 06:53:58 jgs
55     # initial import of project esys2
56     #
57 jgs 82 # Revision 1.2.2.2 2004/09/28 07:03:13 jgs
58     # *** empty log message ***
59     #
60     # Revision 1.2.2.1 2004/09/27 06:44:58 jgs
61     # refined clean target actions
62     #
63     # Revision 1.2 2004/09/23 01:48:46 jgs
64     # make: augmented Makefiles with comments throughout
65     #
66     # Makefile.default - changed order of includes for clarity
67     # Makfile.phony - reordered phony targets
68     # - added target "all" - now first target to be encountered
69     #
70     # Revision 1.1.1.1 2004/06/24 04:00:39 johng
71     # Initial version of eys using boost-python.
72     #
73     # Revision 1.3 2003/08/25 02:14:10 davies
74     # Force builds of linked objects.
75     #
76     # Revision 1.2 2003/08/21 07:12:16 davies
77     # Fixed accidental deletion of CVS directory during "make clean".
78     #
79     # Revision 1.1.1.1 2003/08/21 00:58:20 davies
80     # Imported sources from Lutz Gross.
81     #
82    

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26