source: CMT/HEAD/src/NMakefile.core @ 663

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

See C.L. 522

  • Property svn:eol-style set to native
File size: 3.0 KB
RevLine 
[5]1#-----------------------------------------------------------
2# Copyright Christian Arnault LAL-Orsay CNRS
3# arnault@lal.in2p3.fr
[663]4# Modified by Grigory Rybkin
[5]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
[445]44# default settings
45#   o print CMT messages
46#   o do not echo Make commands
47cmtmsg = 1
48!undef makecmd
[5]49
[445]50# parse all the switches
51!ifdef SILENT
52!undef cmtmsg
53!undef makecmd
[5]54!endif
55
[445]56!ifdef ECHO
57!undef cmtmsg
58makecmd = 1
[5]59!endif
60
[445]61!ifdef QUIET
62cmtmsg = 1
63!undef makecmd
[5]64!endif
65
[445]66!ifdef VERBOSE
67cmtmsg = 1
68makecmd = 1
[5]69!endif
70
[445]71# set the relevant Make variables
[446]72!ifndef CMTMSGPREFIX
73CMTMSGPREFIX = ^#CMT--->
74#export CMTMSGPREFIX
[5]75!endif
76
[445]77!ifdef cmtmsg
78#export cmtmsg
[446]79echo = @ echo "$(CMTMSGPREFIX)"
[5]80!else
[445]81#echo = @:
82echo = @rem
[5]83!endif
84
[445]85!ifdef makecmd
86silent =
[5]87!else
[445]88silent = @
89#MAKEFLAGS += --silent
90!CMDSWITCHES +S
[5]91!endif
92
[445]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)
[483]113dep_echo = $(echo) generating dependencies
114dep_silent = $(silent)
[445]115#
116# End of Controlling the verbosity of Make
117#---------------------------------------------
[5]118
[445]119#!if defined (LEX_QUIET)
120#lex_silent = @
121#lex_echo = @echo rebuilding
122#!else
123#lex_silent =
124#lex_echo = -@ $(echo)
125#!endif
[5]126
127cmtexe = $(CMTROOT)\$(CMTBIN)\cmt.exe
128
[483]129# add to the list of valid suffixes
130# so that nonterminal match-anything rules will not be considered
[595]131.SUFFIXES: .nmake .in .stamp
Note: See TracBrowser for help on using the repository browser.