#----------------------------------------------------------- # 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 # # default settings # o print CMT messages # o do not echo Make commands cmtmsg = 1 !undef makecmd # parse all the switches !ifdef SILENT !undef cmtmsg !undef makecmd !endif !ifdef ECHO !undef cmtmsg makecmd = 1 !endif !ifdef QUIET cmtmsg = 1 !undef makecmd !endif !ifdef VERBOSE cmtmsg = 1 makecmd = 1 !endif # set the relevant Make variables !ifndef CMTMSGPREFIX CMTMSGPREFIX = ^#CMT---> #export CMTMSGPREFIX !endif !ifdef cmtmsg #export cmtmsg echo = @ echo "$(CMTMSGPREFIX)" !else #echo = @: echo = @rem !endif !ifdef makecmd silent = !else silent = @ #MAKEFLAGS += --silent !CMDSWITCHES +S !endif lex_echo = $(echo) building lex_silent = $(silent) yacc_echo = $(echo) building yacc_silent = $(silent) c_echo = $(echo) compiling c_silent = $(silent) cpp_echo = $(echo) compiling cpp_silent = $(silent) fortran_echo = $(echo) compiling fortran_silent = $(silent) java_echo = $(echo) building java_silent = $(silent) link_echo = $(echo) building link_silent = $(silent) lib_echo = $(echo) building lib_silent = $(silent) cleanup_echo = $(echo) removing cleanup_silent = $(silent) install_echo = $(echo) installing install_silent = $(silent) dep_echo = $(echo) generating dependencies dep_silent = $(silent) # # End of Controlling the verbosity of Make #--------------------------------------------- #!if defined (LEX_QUIET) #lex_silent = @ #lex_echo = @echo rebuilding #!else #lex_silent = #lex_echo = -@ $(echo) #!endif cmtexe = $(CMTROOT)\$(CMTBIN)\cmt.exe # add to the list of valid suffixes # so that nonterminal match-anything rules will not be considered .SUFFIXES: .make .stamp