📄 projectdefinitions.mk
字号:
## Makefile definitions for SENSE status analyzer## Copyright 2006 - Mark Lisee## This is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License as published by# the Free Software Foundation; either version 2 of the License, or# (at your option) any later version.## This file 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 for more details.## You should have received a copy of the GNU General Public License# along with this file; if not, write to the Free Software# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA## Project wide compile flags#CFLAGS += # A project that uses multiple libraries will list them here.# Most likely, each directory's makefile will define USE_PARSER_LIB and/or# MAKE_PARSER_LIB to enable linking with or creating the libraryPARSER_LIB = parser#bar_LIB = bar# Include the correct libraries in the link command#LIBS += $(if $(strip $(USE_bar_LIB)), $(bar_LIB))# This example includes the lex & yacc librariesLIBS += $(if $(strip $(USE_PARSER_LIB)), $(PARSER_LIB) y fl)# convert the library names into library filesPARSER_LIB_FILES = $(PARSER_LIB:%=$(LIB_DIR)/lib%.a)#bar_LIB_FILES = $(bar_LIB:%=$(LIB_DIR)/lib%.a)# define LIB_FILES only if CMN_OBJ_FILES is non-NULL# This means that only the directory that creates the common libraries will# delete them.LIB_FILES = $(if $(strip $(MAKE_PARSER_LIB)), $(PARSER_LIB_FILES))#LIB_FILES += $(if $(strip $(MAKE_bar_LIB)), $(bar_LIB_FILES))# Add the library files to the dependency list, but only if they aren't being# made by this directoryLINK_LIB_FILES = $(if $(strip $(USE_PARSER_LIB)), $(if $(strip $(MAKE_PARSER_LIB)), , $(PARSER_LIB:%=lib%.a)))#LINK_LIB_FILES += $(if $(strip $(USE_bar_LIB)), $(if $(strip $(MAKE_bar_LIB)), , $(bar_LIB:%=lib%.a)))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -