📄 makefile.msvc
字号:
# -*- Makefile -*- for avcall#### Start of system configuration section. ##### Flags that can be set on the nmake command line:# MFLAGS={-ML|-MT|-MD} for defining the compilation model# MFLAGS=-ML (the default) Single-threaded, statically linked - libc.lib# MFLAGS=-MT Multi-threaded, statically linked - libcmt.lib# MFLAGS=-MD Multi-threaded, dynamically linked - msvcrt.lib# DEBUG=1 for compiling with debugging information# Note that nmake command line flags are automatically passed to subdirectory# Makefiles. Therefore we don't need to pass them explicitly to subdirectory# Makefiles, but the subdirectory Makefiles need to have the same defaults.# Building as a DLL not supported yet.DLL=0!if !defined(DEBUG)DEBUG=0!endif!if !defined(MFLAGS)!if !$(DLL)MFLAGS=!elseMFLAGS=-MD!endif!endif!if $(DEBUG)OPTIMFLAGS = -Od -Z7!elseOPTIMFLAGS = -D_NDEBUG -O1!endifHOST = i386-pc-win32-msvcCPU = i386# Directories used by "make":srcdir = .# Directories used by "make install":prefix = /usr/locallocal_prefix = /usr/localexec_prefix = $(prefix)libdir = $(exec_prefix)/libincludedir = $(prefix)/includemandir = $(prefix)/man# Programs used by "make":CC = clCFLAGS = $(MFLAGS) $(OPTIMFLAGS)CPP = cl -EINCLUDES = -I. -I$(srcdir)AR = libAR_FLAGS = /out:MV = renLN = copyRM = -del# Programs used by "make install":INSTALL = @INSTALL@INSTALL_PROGRAM = @INSTALL_PROGRAM@INSTALL_DATA = @INSTALL_DATA@#### End of system configuration section. ####SHELL = /bin/shOBJECTS = avcall.obj structcpy.objall : $(OBJECTS) avcall.lib avcall.h $(srcdir)/avcall.3 $(srcdir)/avcall.htmlavcall.h : avcall.h.msvc $(RM) avcall.h $(LN) avcall.h.msvc avcall.havcall.obj : avcall-$(CPU).obj $(RM) avcall.obj $(LN) avcall-$(CPU).obj avcall.objavcall-i386.obj : $(srcdir)/avcall-i386-msvc.c $(RM) avcall-i386.obj $(CC) -c $(srcdir)/avcall-i386-msvc.c /Foavcall-i386.objstructcpy.obj : $(srcdir)/structcpy.c $(CC) $(CFLAGS) -c $(srcdir)/structcpy.c!if !$(DLL)avcall.lib : $(OBJECTS) $(RM) avcall.lib $(AR) $(AR_FLAGS)avcall.lib $(OBJECTS)!else# avcall.dll and avcall.lib are created together.avcall.lib : $(OBJECTS) $(CC) $(MFLAGS) -LD $(OBJECTS)!endiftests.obj : $(srcdir)/tests.c avcall.h $(CC) $(CFLAGS) $(INCLUDES) -c $(srcdir)/tests.ctests.s : $(srcdir)/tests.c avcall.h $(CC) $(CFLAGS) $(INCLUDES) -c $(srcdir)/tests.c /FAs /Fatests.stests.exe : tests.obj avcall.lib $(CC) $(CFLAGS) tests.obj avcall.lib /Fetests.exeuniq-u.exe : $(srcdir)/uniq-u.c $(CC) $(CFLAGS) $(srcdir)/uniq-u.c -Feuniq-u.exe $(RM) uniq-u.objcheck : all tests.exe uniq-u.exe tests.exe > tests.out uniq-u < tests.out > tests.output.$(HOST)# You have to check by hand that tests.output.$(HOST) is empty.mostlyclean : cleanclean : force $(RM) *.obj *.lib *.exp *.dll core $(RM) avcall-i386.s $(RM) tests.obj tests.s tests.exe uniq-u.exe tests.outdistclean : clean $(RM) config.status config.log config.cache Makefile avcall.h tests.output.*maintainer-clean : distcleanforce :
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -