source: CMT/v1r16p20040901/src/Makefile.core @ 1

Last change on this file since 1 was 1, checked in by arnault, 19 years ago

Import all tags

File size: 2.5 KB
Line 
1#-----------------------------------------------------------
2# Copyright Christian Arnault LAL-Orsay CNRS
3# arnault@lal.in2p3.fr
4# See the complete license in cmt_license.txt "http://www.cecill.info".
5#-----------------------------------------------------------
6
7cflags    = $(CFLAGS)
8cppflags  = $(CFLAGS)
9fflags    = $(CFLAGS)
10
11cc        = cc
12ccomp     = $(cc)  -c -I$(inc) $(cflags)
13clink     = $(cc)
14
15cpp       = g++
16cppcomp   = $(cpp) -c -I$(inc) $(cppflags)
17cpplink   = $(cpp)
18
19for       = f77
20fcomp     = $(for) -c -I$(inc) $(fflags)
21flink     = $(for)
22
23lexflags  =
24lex       = lex $(lexflags)
25
26yaccflags =
27yacc      = yacc $(yaccflags)
28
29mkdir     = mkdir
30
31comp      = $(ccomp)
32link      = $(cc)
33
34ar        = ar -crl
35ranlib    = ranlib
36
37cmtexe = $(CMTROOT)/$(CMTBIN)/cmt.exe
38
39#---------------------------------------------
40# Controlling the verbosity of Make
41#
42
43ifdef QUIET
44LEX_QUIET = 1
45YACC_QUIET = 1
46C_QUIET = 1
47CPP_QUIET = 1
48FORTRAN_QUIET = 1
49JAVA_QUIET = 1
50LINK_QUIET = 1
51LIB_QUIET = 1
52CLEANUP_QUIET = 1
53silent = @
54echo = @/bin/echo
55else
56silent =
57echo = @- echo
58endif
59
60ifdef LEX_QUIET
61lex_silent = @
62lex_echo = @/bin/echo rebuilding
63else
64lex_silent =
65lex_echo = $(echo)
66endif
67
68ifdef YACC_QUIET
69yacc_silent = @
70yacc_echo = @/bin/echo rebuilding
71else
72yacc_silent =
73yacc_echo = $(echo)
74endif
75
76ifdef C_QUIET
77c_silent = @
78c_echo = @/bin/echo rebuilding
79else
80c_silent =
81c_echo = $(echo)
82endif
83
84ifdef CPP_QUIET
85cpp_silent = @
86cpp_echo = @/bin/echo rebuilding
87else
88cpp_silent =
89cpp_echo = $(echo)
90endif
91
92ifdef FORTRAN_QUIET
93fortran_silent = @
94fortran_echo = @/bin/echo rebuilding
95else
96fortran_silent =
97fortran_echo = $(echo)
98endif
99
100ifdef JAVA_QUIET
101java_silent = @
102java_echo = @/bin/echo rebuilding
103else
104java_silent =
105java_echo = $(echo)
106endif
107
108ifdef LINK_QUIET
109link_silent = @
110link_echo = @/bin/echo rebuilding
111else
112link_silent =
113link_echo = $(echo)
114endif
115
116ifdef LIB_QUIET
117lib_silent = @
118lib_echo = @/bin/echo rebuilding
119else
120lib_silent =
121lib_echo = $(echo)
122endif
123
124ifdef CLEANUP_QUIET
125cleanup_silent = @
126cleanup_echo = @/bin/echo removing
127else
128cleanup_silent =
129cleanup_echo = $(echo)
130endif
131
132SHELL     = /bin/sh
133
134src       = ../src/
135inc       = ../src/
136mgr       = ../mgr/
137cmt       = ../cmt/
138bin       = ../$(tag)/
139
140#
141#dirs ::
142#       @if test ! -r requirements ; then echo "No requirements file" ; fi; \
143#         if test ! -d $(bin) ; then $(mkdir) -p $(bin) ; fi
144#
Note: See TracBrowser for help on using the repository browser.