#-----------------------------------------------------------
# Copyright Christian Arnault LAL-Orsay CNRS
# arnault@lal.in2p3.fr
# See the complete license in cmt_license.txt "http://www.cecill.info". 
#-----------------------------------------------------------
 
cflags    = $(CFLAGS)
cppflags  = $(CFLAGS)
fflags    = $(CFLAGS)

cc        = cl.exe
ccomp     = $(cc) /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /Fo"$(bin)\\" /Fd"$(bin)\\" /FD /c
clink   = 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

cpp       = cl.exe
cppcomp   = $(cpp) /nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /c
cpplink   = 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

####for       = f77
####fcomp     = $(for) -c -I$(inc) $(fflags)
####flink     = $(for)

####lexflags  =
####lex       = lex $(lexflags)

####yaccflags =
####yacc      = yacc $(yaccflags)

ar        = link.exe -lib
ranlib    = ranlib

src       = ../src/
inc       = ../src/
mgr       = ../mgr/
cmt       = ../cmt/
bin       = ..\$(tag)\ 
shortbin  = ..\$(tag)

#---------------------------------------------
# Controlling the verbosity of Make
#

!if defined (QUIET)
LEX_QUIET = 1
YACC_QUIET = 1
C_QUIET = 1
CPP_QUIET = 1
FORTRAN_QUIET = 1
JAVA_QUIET = 1
LINK_QUIET = 1
LIB_QUIET = 1
CLEANUP_QUIET = 1
silent = @
echo = @echo 
!else
silent =
echo = echo 
!endif

!if defined (LEX_QUIET)
lex_silent = @
lex_echo = @echo rebuilding 
!else
lex_silent =
lex_echo = -@ $(echo)
!endif

!if defined (YACC_QUIET)
yacc_silent = @
yacc_echo = @echo rebuilding 
!else
yacc_silent =
yacc_echo = -@ $(echo)
!endif

!if defined (C_QUIET)
c_silent = @
c_echo = @echo rebuilding 
!else
c_silent =
c_echo = -@ $(echo)
!endif

!if defined (CPP_QUIET)
cpp_silent = @
cpp_echo = @echo rebuilding 
!else
cpp_silent =
cpp_echo = -@ $(echo)
!endif

!if defined (FORTRAN_QUIET)
fortran_silent = @
fortran_echo = @echo rebuilding 
!else
fortran_silent =
fortran_echo = -@ $(echo)
!endif

!if defined (JAVA_QUIET)
java_silent = @
java_echo = @echo rebuilding 
!else
java_silent =
java_echo = -@ $(echo)
!endif

!if defined (LINK_QUIET)
link_silent = @
link_echo = @echo rebuilding 
!else
link_silent =
link_echo = -@ $(echo)
!endif

!if defined (LIB_QUIET)
lib_silent = @
lib_echo = @echo rebuilding 
!else
lib_silent =
lib_echo = -@ $(echo)
!endif

!if defined (CLEANUP_QUIET)
cleanup_silent = @
cleanup_echo = @echo removing 
!else
cleanup_silent =
cleanup_echo = @ $(echo)
!endif

cmtexe = $(CMTROOT)\$(CMTBIN)\cmt.exe


