source: CMT/v1r25-branch/src/NMakefile.core

Last change on this file was 664, checked in by rybkin, 10 years ago

merge -r 646:663 HEAD

  • Property svn:eol-style set to native
File size: 3.0 KB
Line 
1#-----------------------------------------------------------
2# Copyright Christian Arnault LAL-Orsay CNRS
3# arnault@lal.in2p3.fr
4# Modified by Grigory Rybkin
5# See the complete license in cmt_license.txt "http://www.cecill.info".
6#-----------------------------------------------------------
7 
8cflags    = $(CFLAGS)
9cppflags  = $(CFLAGS)
10fflags    = $(CFLAGS)
11
12cc        = cl.exe
13ccomp     = $(cc) /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /Fo"$(bin)\\" /Fd"$(bin)\\" /FD /c
14clink   = link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
15
16cpp       = cl.exe
17cppcomp   = $(cpp) /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /c
18cpplink   = link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
19
20####for       = f77
21####fcomp     = $(for) -c -I$(inc) $(fflags)
22####flink     = $(for)
23
24####lexflags  =
25####lex       = lex $(lexflags)
26
27####yaccflags =
28####yacc      = yacc $(yaccflags)
29
30ar        = link.exe -lib
31ranlib    = ranlib
32
33src       = ../src/
34inc       = ../src/
35mgr       = ../mgr/
36cmt       = ../cmt/
37bin       = ..\$(tag)\
38shortbin  = ..\$(tag)
39
40#---------------------------------------------
41# Controlling the verbosity of Make
42#
43
44# default settings
45#   o print CMT messages
46#   o do not echo Make commands
47cmtmsg = 1
48!undef makecmd
49
50# parse all the switches
51!ifdef SILENT
52!undef cmtmsg
53!undef makecmd
54!endif
55
56!ifdef ECHO
57!undef cmtmsg
58makecmd = 1
59!endif
60
61!ifdef QUIET
62cmtmsg = 1
63!undef makecmd
64!endif
65
66!ifdef VERBOSE
67cmtmsg = 1
68makecmd = 1
69!endif
70
71# set the relevant Make variables
72!ifndef CMTMSGPREFIX
73CMTMSGPREFIX = ^#CMT--->
74#export CMTMSGPREFIX
75!endif
76
77!ifdef cmtmsg
78#export cmtmsg
79echo = @ echo "$(CMTMSGPREFIX)"
80!else
81#echo = @:
82echo = @rem
83!endif
84
85!ifdef makecmd
86silent =
87!else
88silent = @
89#MAKEFLAGS += --silent
90!CMDSWITCHES +S
91!endif
92
93lex_echo = $(echo) building
94lex_silent = $(silent)
95yacc_echo = $(echo) building
96yacc_silent = $(silent)
97c_echo = $(echo) compiling
98c_silent = $(silent)
99cpp_echo = $(echo) compiling
100cpp_silent = $(silent)
101fortran_echo = $(echo) compiling
102fortran_silent = $(silent)
103java_echo = $(echo) building
104java_silent = $(silent)
105link_echo = $(echo) building
106link_silent = $(silent)
107lib_echo = $(echo) building
108lib_silent = $(silent)
109cleanup_echo = $(echo) removing
110cleanup_silent = $(silent)
111install_echo = $(echo) installing
112install_silent = $(silent)
113dep_echo = $(echo) generating dependencies
114dep_silent = $(silent)
115#
116# End of Controlling the verbosity of Make
117#---------------------------------------------
118
119#!if defined (LEX_QUIET)
120#lex_silent = @
121#lex_echo = @echo rebuilding
122#!else
123#lex_silent =
124#lex_echo = -@ $(echo)
125#!endif
126
127cmtexe = $(CMTROOT)\$(CMTBIN)\cmt.exe
128
129# add to the list of valid suffixes
130# so that nonterminal match-anything rules will not be considered
131.SUFFIXES: .nmake .in .stamp
Note: See TracBrowser for help on using the repository browser.