source: CMT/v1r25p20130606/src/NMakefile.core

Last change on this file was 595, checked in by rybkin, 12 years ago

See C.L. 472

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