vc.gmk

来自「This is a resource based on j2me embedde」· GMK 代码 · 共 110 行

GMK
110
字号
## Copyright  1990-2008 Sun Microsystems, Inc. All Rights Reserved.# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER# # This program is free software; you can redistribute it and/or# modify it under the terms of the GNU General Public License version# 2 only, as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, but# WITHOUT ANY WARRANTY; without even the implied warranty of# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU# General Public License version 2 for more details (a copy is# included at /legal/license.txt). # # You should have received a copy of the GNU General Public License# version 2 along with this work; if not, write to the Free Software# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA# 02110-1301 USA # # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa# Clara, CA 95054 or visit www.sun.com if you need additional# information or have any questions. ######################################################################### Generic compiler specific defines# MIDP specific directories and libraries defines are in vc-jtwi.gmk#######################################################################ifndef _VC_GMK__VC_GMK_	=# SuffixLIB_SUFFIX      = .libLIB_PREFIX      = SHARED_LIB_SUFFIX = .dllOBJ_SUFFIX      = obj# GCC USE_GCC		= false# Same defines when used as either TARGET or HOST COMPILERCC		= clCPP		= clCC_OUTPUT	= -FoLD 		= linkifeq ($(CREATE_MIDP_SHARED_LIB),true)LD_FLAGS 	+= /DLLendifLD_OUTPUT	= -out:LINKER_OUTPUT	= $(LD_OUTPUT)LIBS		+= user32.lib gdi32.lib kernel32.lib winmm.lib wsock32.lib vfw32.libLD_FLAGS 	+= -nologo -subsystem:console -machine:i386 -MAP \		  -incremental:no -verbose:LIB -nodefaultlib:libc.libCREATE_LIB      = libLIB_OUTPUT      = /OUT:AR = lib# commands for AR (lib) scriptMRI_ADD = MRI_CREATE = /OUT:MRI_SAVE = MRI_OPT = /NOLOGO @# IMPORTANT: the following line does not mean what it could look like from first sight# actually it is substitution of unnecessary call t ranlib with true which effectively# does nothingRANLIB = trueASM		= "$(_MASM_DIR$(MASM_DIR))$(MASM_DIR)/ml"ASM_FLAGS	+= /nologo /c /coff /ZiASM_OUTPUT	= -Foifeq ($(TARGET_VM), cdc_vm)  ifeq ($(CVM_DLL), true)    LD_FLAGS += /DLL  endifendififeq ($(USE_DEBUG), true)ifneq ($(TARGET_VM), cdc_vm)DEBUG_CFLAGS 	+= -Zi -Od -MDdendifLD_FLAGS 	+= -debug # Force use of debug librariesLD_FLAGS	+= -nodefaultlib:msvcrt.lib msvcrtd.libelseifneq ($(TARGET_VM), cdc_vm)# flags inherited from the VM : -Ox -Os -Gy -GFEXTRA_CFLAGS    += -nologo -DWIN32 -D_WINDOWS EXTRA_CFLAGS 	+= -MDendifLD_FLAGS 	+= -merge:CODESEGMENT=.text -merge:DATASEGMENT=.data \		   -opt:REF -opt:ICF,8# Force use of non-debug librariesLD_FLAGS 	+= -nodefaultlib:msvcrtd.lib msvcrt.libendifendif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?