?? project.mak
字號:
#************************************************************************
#Filename : project.mak
#Description: sub-makefile that must be included by all project makefiles
#************************************************************************
# Copyright (c) 2001,2002 RADVISION Inc. and RADVISION Ltd.
#************************************************************************
#NOTICE:
#This document contains information that is confidential and proprietary
#to RADVISION Inc. and RADVISION Ltd.. No part of this document may be
#reproduced in any form whatsoever without written prior approval by
#RADVISION Inc. or RADVISION Ltd..
#
#RADVISION Inc. and RADVISION Ltd. reserve the right to revise this
#publication and make changes without obligation to notify any person of
#such revisions or changes.
#************************************************************************
# This file must be included at the end of every project makefile
# Derived info
LIBNAME := $(LIB_PREFIX)$(PROJECT_NAME)$(LIB_EXTENSION)
EXENAME := $(PROJECT_NAME)$(EXECUTE_EXTENSION)
DIRLIST := $(PROJECT_PATH) $(MODULES:%=$(PROJECT_PATH)/%)
SOURCE := $(foreach dir,$(DIRLIST),$(wildcard $(dir)/*.c))
INCLUDES:= $(foreach dir,$(DIRLIST),$(wildcard $(dir)/*.h))
OBJLIST:= $(SOURCE:.c=$(OBJ_EXTENSION))
ifeq ($(OS_BUILD_EXECUTABLE), no)
BUILD_EXECUTABLE := no
endif
ifeq ($(BUILD_EXECUTABLE), yes)
TARGETNAME := $(PROJECT_BIN_DIR)/$(EXENAME)
# Create special variable to remember linking information
$(TARGETNAME)_EXE_OBJ_LIST := $(OBJLIST)
$(TARGETNAME)_EXE_LIBS_NEEDED := $(EXE_LIBS_NEEDED)
ifeq ($(BUILD_EXECUTABLE_WITH_TK), yes)
LIB_DIRS += $(LIBS_TK_DIRS)
LIBS_LIST += $(LIBS_TK_LIST)
endif
else
TARGETNAME := $(PROJECT_LIB_DIR)/$(LIBNAME)
endif
# Add to master lists
SOURCE_DIRS += $(DIRLIST)
SOURCE_LIST += $(SOURCE)
OTHER_TARGET_LIST +=
ifeq ($(BUILD_EXECUTABLE), yes)
EXE_TARGET_LIST += $(TARGETNAME)
DEMO_INSTALL_LIST += $(EXENAME)
else
LIBS_TARGET_LIST += $(TARGETNAME)
INCLUDE_INSTALL_LIST += $(INCLUDES)
endif
NAMED_TARGET_LIST += $(PROJECT_NAME)
# Create the base object dependencies specific to this project directory
$(OBJLIST): $(PROJECT_MAKE)
# Make sure the project's name is a valid target
$(PROJECT_NAME): $(TARGETNAME)
# Create the target dependencies specific to this project directory
$(TARGETNAME): $(OBJLIST) $(addprefix $(PROJECT_LIB_DIR)/, $(EXE_LIBS_NEEDED:%=$(LIB_PREFIX)%$(LIB_EXTENSION))) $(PROJECT_MAKE)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -