?? megaco.mak
字號(hào):
# megaco project makefile
# Project directory - must have relative path from main makefile
PROJECT := megaco
# Module directories - must have relative path from this makefile
MODULES := common/parser common/transport client/termmgr
# Derived info
PROJNAME := $(notdir $(PROJECT))
LIBNAME := lib$(PROJNAME)$(LIB_EXTENTION)
EXENAME := $(PROJNAME)$(EXECUTE_EXTENTION)
DIRLIST := $(PROJECT) $(MODULES:%=$(PROJECT)/%)
SOURCE := $(foreach dir,$(DIRLIST),$(wildcard $(dir)/*.c))
INCLUDES:= $(foreach dir,$(DIRLIST),$(wildcard $(dir)/*.h))
# Add to master lists
SOURCE_DIRS += $(DIRLIST)
SOURCE_LIST += $(SOURCE)
LIBS_TARGET_LIST += $(LIBNAME)
OTHER_TARGET_LIST +=
INCLUDE_INSTALL_LIST += $(INCLUDES)
DEMO_INSTALL_LIST +=
# Create the base object dependencies specific to this project directory
$(SOURCE:.c=$(OBJ_EXTENTION)): $(PROJECT)/$(PROJNAME).mak
# Create the target dependencies specific to this project directory
$(LIBNAME): $(SOURCE:.c=$(OBJ_EXTENTION)) $(PROJECT)/$(PROJNAME).mak
# No executable target for this project
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -